How to configure cross binutils in a sane state?

Hector Oron hector.oron@gmail.com
Tue Mar 30 15:41:00 GMT 2010


Hello,

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

Previous config.log I sent was failing in other way. My current build
fails with this:
Assembler messages:
Fatal error: selected target format 'elf64-x86-64' unknown
configure:2896: $? = 1
configure:2933: result:
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2939: error: in
`/tmp/binutils-2.20.1/builddir-arm-linux-gnueabi/opcodes':
configure:2943: error: C compiler cannot create executables
See `config.log' for more details.

Attach new opcodes/config.log

If I set --enable-targets=$build_host, then it builds fine, but I
guess this is a bug somewhere.

Kind Regards,
-- 
 Héctor Orón

"Our Sun unleashes tremendous flares expelling hot gas into the Solar
System, which one day will disconnect us."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 7475 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20100330/df04a356/attachment.bin>


More information about the Binutils mailing list