Re: [LTP] Cross Compiling LTP for Android platform
From: Subrata Modak <hidden>
Date: 2011-09-21 06:38:59
On Wed, 2011-09-21 at 06:28 +0000, G Rajender wrote:
Hi, Thank you for your reply and support. I have checked for the strip with commands suggested by you. # which strip /usr/bin/strip # rpm -qf /usr/bin/strip "file /usr/bin/strip is not owned by any package"
Install the Cross Compile Binutils of the target Arch in this machine. Or, you can build the Target Arch Binutils in the source machine provided you have the Binuitls source code. So just like your 'arm-linux-androideabi-gcc' which shows up in your /usr/bin/arm-linux-androideabi-gcc, You will then have all the binaries of the Binutils package here: /usr/bin/arm-linux-androideabi-stripe /usr/bin/arm-linux-androideabi-ar /usr/bin/arm-linux-androideabi-as /usr/bin/arm-linux-androideabi-ld /usr/bin/arm-linux-androideabi-nm /usr/bin/arm-linux-androideabi-objdump etc. Regards-- Subrata
I think strip not owned by any package.... How to modify or configure my arm-linux-androideabi- strip binutils. Any suggestions please...... Thanks Rajender.G ________________________________________ From: Subrata Modak [subrata@linux.vnet.ibm.com] Sent: Tuesday, September 20, 2011 10:59 PM To: G Rajender Cc: ltp-list@lists.sourceforge.net Subject: Re: [LTP] Cross Compiling LTP for Android platform On Tue, 2011-09-20 at 14:28 +0000, G Rajender wrote:quoted
Hi, I am Cross Compiling LTP-20110228 using arm-linux-androideabi cross toolchain. Im getting the below errors make[4]: Leaving directory `/media/C0AA04ADAA04A250/ltp-full-20110228/testcases/commands/ade/nm' make[4]: Entering directory `/media/C0AA04ADAA04A250/ltp-full-20110228/testcases/commands/ade/objdump' arm-linux-androideabi-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-androideabi-gcc -L../../../../lib test_arch.o -o test_arch_debug arm-linux-androideabi-gcc -L../../../../lib test_arch.o -o test_arch_stripped strip test_arch_stripped strip: Unable to recognise the format of the input file `test_arch_stripped'The Error lies here. Do you have 'strip' from the Cross-Architecture Binary Utils package. Apart from your GCC (which is from your GCC package), all the following packages should also be from your CROSS COMPILE ARCH: Glibc Glibc-devel Binutils If you see your 'strip' binary, probably it is still belonging to the machine arch on which you are compiling. # which strip /usr/bin/strip # rpm -qf /usr/bin/strip binutils-2.20.51.0.2-5.27.el6.ppc64 Check that out first. Regards-- Subrataquoted
make[4]: *** [test_arch_stripped] Error 1 Any suggestion on this erros please...... Thanks in advance. Regards Rajender.G Larsen & Toubro Limited www.larsentoubro.com This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. ------------------------------------------------------------------------------ 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-d2dcopy1 _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-listLarsen & Toubro Limited www.larsentoubro.com This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.
------------------------------------------------------------------------------ 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-d2dcopy1 _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list