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
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list