This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to configure cross binutils in a sane state?


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."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]