From: Subrata Modak <subrata@linux.vnet.ibm.com>
To: G Rajender <G.Rajender@lnties.com>
Cc: "ltp-list@lists.sourceforge.net" <ltp-list@lists.sourceforge.net>
Subject: Re: [LTP] Cross Compiling LTP for Android platform
Date: Wed, 21 Sep 2011 12:08:44 +0530 [thread overview]
Message-ID: <1316587124.4544.3.camel@subratamodak.linux.ibm.com> (raw)
In-Reply-To: <260174ADA4D63F4AA543B9C81F2DE71247156D@POCITMSEXMB02.LntUniverse.com>
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:
> > 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--
> Subrata
>
> > 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-list
>
>
>
> 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-list
next prev parent reply other threads:[~2011-09-21 6:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <260174ADA4D63F4AA543B9C81F2DE7124714C8@POCITMSEXMB02.LntUniverse.com>
2011-09-20 17:29 ` [LTP] Cross Compiling LTP for Android platform Subrata Modak
2011-09-21 6:28 ` G Rajender
2011-09-21 6:38 ` Subrata Modak [this message]
[not found] ` <260174ADA4D63F4AA543B9C81F2DE712471654@POCITMSEXMB02.LntUniverse.com>
[not found] ` <1316674584.4516.7.camel@subratamodak.linux.ibm.com>
2011-10-13 14:40 ` Cyril Hrubis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1316587124.4544.3.camel@subratamodak.linux.ibm.com \
--to=subrata@linux.vnet.ibm.com \
--cc=G.Rajender@lnties.com \
--cc=ltp-list@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox