Can't build binutils 2.10 under Cygwin
Grant Edwards
Grant.Edwards@comtrol.com
Tue Aug 22 07:40:00 GMT 2000
Title: Can't build binutils 2.10 under Cygwin
I've been trying to build binutils 2.10 under a fresh install of the current net release of Cygwin.ÃÂ No joy so far.ÃÂ When configured with
./configure --target=arm-elf --program-prefix=arm-elf-
I get the error:
---------------------------------------------------------------------------
make[3]: Entering directory `/home/administrator/binutils-2.10/bfd'
/bin/sh ./libtool --mode=link gccÃÂ -g -O2 -W -WallÃÂ -o libbfd.la -rpath arm-elf-/lib -release 2.10ÃÂ archive.lo archures.lo bfd.lo cache.lo coffgen.lo corefile.lo format.lo init.lo libbfd.lo opncls.lo reloc.lo section.lo syms.lo targets.lo hash.lo linker.lo srec.lo binary.lo tekhex.lo ihex.lo stabs.lo stab-syms.lo `cat ofiles`ÃÂ
libtool: link: only absolute run-paths are allowed
make[3]: *** [libbfd.la] Error 1
----------------------------------------------------------------------------
The option "-rpath arm-elf-/lib" being passed to libtool looks pretty suspicious to me.
If I configure without the --program-prefix=arm-elf- then I get the following error:
----------------------------------------------------------------------------
gcc -g -O2 -W -Wall -o size.exe size.o bucomm.o version.o filemode.o ../bfd/.libs/libbfd.a ../libiberty/libiberty.a ./../intl/libintl.a ../bfd/.libs/libbfd.a
(archures.o): In function `bfd_archures_list': /home/administrator/binutils-2.10/bfd/./archures.c(.text+0x0): undefined reference to `bfd_arm_arch'
collect2: ld returned 1 exit status
make[3]: *** [size.exe] Error 1
----------------------------------------------------------------------------
Anybody have any ideas on how to get binutils 2.10 to build under Cygwin?
[My apologies in advance for any formatting problems in this message -- I had to send it with Outlook instead of mutt because some dipshit left his SMTP relay open and got my normal mail server put on the ORBS list.]
--
Grant Edwards
grante@visi.com
More information about the Binutils
mailing list