This is the mail archive of the binutils@sourceware.cygnus.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]

unable to build binutils-2.10 solaris->i386-pc-mingw32



Hi all,
I have problems building binutils-2.10 for use in a solaris->i386-pc-mingw32
cross compiler. I really need 2.10 because of the "reloc overflow" fix which
should make it possible to do 32-bit relocs. I need this because we use a
parser
generator which generates a huge .c file for our LALR parser.

This is how I configured:
/home/vdbeuken/tools/binutils-2.10/configure --host=sparc-sun-solaris2.6 --t
arget=i386-pc-mingw32 --prefix=/home/vdbeuken/tools/install-binutils -v --no
recursion

I get the following error:

rm -f tofiles
f=""; \
for i in pe-i386.lo peigen.lo cofflink.lo pei-i386.lo elf32-i386.lo elf32.lo
elf.lo elflink.lo dwarf2.lo dwarf1.lo elf32-gen.lo cpu-i386.lo  ; do \
  case " $f " in \
    *" $i "*) ;; \
    *) f="$f $i" ;; \
  esac ; \
done ; \
echo $f > tofiles
/bin/sh /home/vdbeuken/tools/binutils-2.10/bfd/../move-if-change tofiles
ofiles
touch stamp-ofiles
/bin/sh ./libtool --mode=link gcc  -g -O2 -W -Wall  -o libbfd.la -rpath
/home/vdbeuken/tools/install-binutils/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: cygpath: not found
libtool: link: warning: undefined symbols not allowed in i386-pc-mingw32
shared libraries
mkdir .libs
lib /OUT:.libs/libbfd.lib  archive.o archures.o bfd.o cache.o coffgen.o
corefile.o format.o init.o libbfd.o opncls.o reloc.o section.o syms.o
targets.o hash.o linker.o srec.o binary.o tekhex.o ihex.o stabs.o
stab-syms.o pe-i386.o peigen.o cofflink.o pei-i386.o elf32-i386.o elf32.o
elf.o elflink.o dwarf2.o dwarf1.o elf32-gen.o cpu-i386.o
./libtool: lib: not found
gmake[3]: *** [libbfd.la] Error 1
gmake[3]: Leaving directory
`/home/scratch/vdbeuken/tools/build-binutils-2.10-i386-pc-mingw32/bfd'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/home/scratch/vdbeuken/tools/build-binutils-2.10-i386-pc-mingw32/bfd'
gmake[1]: *** [all-recursive-am] Error 2
gmake[1]: Leaving directory
`/home/scratch/vdbeuken/tools/build-binutils-2.10-i386-pc-mingw32/bfd'
gmake: *** [all-bfd] Error 2

It looks as if a native i386-pc-mingw32 build is performed;
lib /OUT: certainly looks like dos to me and cygpath is part of cygwin.
Can anyone help me completing this build, or alternatively tell me
how to apply the "reloc overflow" fix to binutils-2.9.1, which built just
fine.

Thanks in advance,
Frank


--
dr Frank van den Beuken
QASystems R&D Labs, Raiffeisenstraat 32, 5611 CH Eindhoven
The Netherlands, phone: +31 40 2963713, fax: +31 40 2963194
mailto:Frank.van.den.Beuken@rdlabs.qasystems.nl



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