Hi Garrett ..,
Thank you for inputs,
I removed strip under /usr/bin/ and created symbolic link to the cross_compiler strip command and exported the PATH.
-------
[Joshi@myserver ltp-full-20110915]$ ls -l /usr/bin/strip

lrwxrwxrwx 1 root root 82 Oct 18 14:34 /usr/bin/strip -> /usr/local/arm-linux-gnueabi/cross/devel/bin/arm-linux-gnueabi-dev-strip
-------

Thanks to 'all' for your Kind support. Now I 'm able to build and execute latest vesion ltp-full-20110915

Joshi
 

On Mon, Oct 17, 2011 at 11:44 AM, Garrett Cooper <yanegomi@gmail.com> wrote:
On Oct 16, 2011, at 10:47 PM, Josh! wrote:

Thank you Garrett for inputs.

* Now I am able to Cross_Compile properly for arm architecture. i Did the following steps.
____________________________________________
- Export the PATH
export PATH=/usr/local/arm-sony-linux-gnueabi/devel/bin/:$PATH
export CROSS_COMPILER=arm-linux-gnueabi-dev-

- Configured LTP
sudo ./configure --host=arm prefix=/tftpboot/arm/beagleboard/ltp-full-20110915 CC=${CROSS_COMPILER}gcc

- After this Make and Make install
_________________________________________________



* Meanwhile I 'm Getting following error because of strip binary file.
________________________________
make[4]: Entering directory `/tftpboot/arm/beagleboard/ltp-full-20110915/testcases/commands/ade/objdump'

arm-linux-gnueabi-armv7a-dev-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -g  -I../../../../include -I../../../../include  -c -o test_arch.o test_arch.c

arm-linux-gnueabi-armv7a-dev-gcc   -L../../../../lib  test_arch.o   -o test_arch_debug

arm-linux-gnueabi-armv7a-dev-gcc   -L../../../../lib  test_arch.o   -o test_arch_stripped

strip test_arch_stripped

/usr/bin/strip: /usr/bin/strip: cannot execute binary file

make[4]: *** [test_arch_stripped] Error 126

make[4]: Leaving directory `/tftpboot/arm/beagleboard/ltp-full-20110915/testcases/commands/ade/objdump'

make[3]: *** [all] Error 2

make[3]: Leaving directory `/tftpboot/arm/beagleboard/ltp-full-20110915/testcases/commands/ade'

make[2]: *** [all] Error 2

make[2]: Leaving directory `/tftpboot/arm/beagleboard/ltp-full-20110915/testcases/commands'

make[1]: *** [all] Error 2

make[1]: Leaving directory `/tftpboot/arm/beagleboard/ltp-full-20110915/testcases'

make: *** [testcases-all] Error 2
________________________________

after this I replaced 'strip' binary file from host to cross_compiler architecture 'strip' binary file. But still LTP is failing to compile .

See all variables from "Application specifying variables... " to "XXX: I'm lazy..." in include/mk/config.mk ... You may or may not have to define these when calling configure and cross-compiling LTP; FWIW the same guidelines should be used in any properly designed autotools enabled project (I know at least a handful that don't follow a sane variable convention like I tried to create because of the cross-compilation environment I used to work with).
Cheers,
-Garrett



--