This is the mail archive of the binutils@sources.redhat.com 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]

Can't build binutils 2.10 under Cygwin


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


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