Re: Error compiling arm-elf-gcc-4.5.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



20.4.2010 11:49, Massimiliano Cialdi kirjoitti:

I have configured as follows:
configure --enable-languages=c,c++ --target=arm-elf --with-gnu-as
--with-gnu-ld --prefix=path-to/arm-elf-gcc-4.5.0

The given $prefix should be some 'absolute' pathname, the default is
'/usr/local' when no '--prefix=$prefix' is given. Yours is 'relative'
to some directory.

when I make all I get the following error:

Links are now set up to build a cross-compiler
from x86_64-unknown-linux-gnu to arm-unknown-elf.
checking for exported symbols...
path-to/arm-elf-gcc-4.5.0/arm-elf/bin/objdump: conftest: File format not
recognized
checking for -rdynamic... path-to/arm-elf-gcc-4.5.0/arm-elf/bin/objdump:
conftest: File format not recognized

Hard to say what is the search root for these, probably the main $BUILD
directory. In any case there seems to be nothing which the configure
script expects, here an 'objdump' for the 'arm-elf' target...

my system is ubuntu 9.10 64 bit with
gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu9)

binutils:
GNU ld (GNU Binutils for Ubuntu) 2.20

Of course you should first have binutils for 'arm-elf' in the
'$prefix/bin' (for humans and this dir in PATH) and in
'$prefix/arm-elf/bin' (for the GCC to be built). The
'path-to/arm-elf-gcc-4.5.0/arm-elf/bin/objdump' shows this
scheme with your given $prefix and $target values.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux