This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: How to configure cross binutils in a sane state?
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Hector Oron <hector dot oron at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Tue, 30 Mar 2010 16:45:22 +0200
- Subject: Re: How to configure cross binutils in a sane state?
- References: <dd0a3d701003300633u775b63bar404921e69c5cbaf8@mail.gmail.com>
Hector Oron <hector.oron@gmail.com> writes:
> My libs should be under /usr/arm-linux-gnueabi/lib, why is rpath
> pointing other directory (*-rpath
> /usr/x86_64-unknown-linux-gnu/arm-linux-gnueabi/lib*)?
That's the correct place for the host libraries as used by cross
binutils.
> How should I instruct binutils to use /usr/arm-linux-gnueabi/lib?
Not at all. Nothing should be installed there by bintuils. It is used
for target libraries, and binutils does not contain any such library.
> configure: error: in
> `/tmp/upstream/binutils-2.20.1/builddir-arm-linux-gnueabi/opcodes':
> configure: error: C compiler cannot create executables
> See `config.log' for more details.
Please see `config.log' for more details.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."