This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

How do I compile binutils on cygwin?


I have just a small question... how do I compile binutils cvs trunk
under cygwin?


This was on a Windows XP SP1/cygwin P4 system with these packages:

binutils  2.12.90 20020706  (cygwin ver. 20020706-2)
cygwin    1.3.12-4
dejagnu   1.4.2.x           (cygwin ver. 20010117-1 + cvs 20020428 on top)
gcc       2.95.3-5

LAST_UPDATED: Wed Oct  9 16:31:11  2002 (UTC)

configured with:

/usr/local/src/gcc-binutils/trunk/src/configure 
--prefix=/usr/local/gcc-binutils --enable-shared --enable-threads=posix
--disable-libgcj --enable-sjlj-exceptions --with-system-zlib
--without-included-gettext

and build failure like this:

/bin/sh ./libtool --mode=link gcc -pipe -W -Wall -Wstrict-prototypes -Wmissing-p
rototypes -g  -o libbfd.la -rpath /usr/local/gcc-binutils/lib -release 2.13.90 -
no-undefined archive.lo archures.lo bfd.lo cache.lo coffgen.lo corefile.lo forma
t.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 merge.lo dwa
rf2.lo archive64.lo `cat ofiles` -L/usr/local/src/gcc-binutils/trunk/objdir-binu
tils/bfd/../libiberty -liberty -L/usr/local/src/gcc-binutils/trunk/objdir-binuti
ls/bfd/../intl -lintl -lcygwin -lkernel32
mkdir .libs
extracting exported symbol list from `cygintl-2.dll'
test -f .libs/impgen.c || \
      sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \
*\// { s/^# //; p; }" -e d < ./libtool > .libs/impgen.c
      test -f .libs/impgen.exe || (cd .libs && \
      if test "x" != "x" ; then  -o impgen impgen.c ; \
      else gcc -pipe -o impgen impgen.c ; fi)
      .libs/impgen /usr/lib/../bin/cygintl-2.dll > .libs/cygintl-2.dll-def
generating import library for `cygintl-2.dll'
dlltool --as=as --dllname cygintl-2.dll --def .libs/cygintl-2.dll-def --output-l
ib .libs/libimp-cygintl-2.a
grep: /usr/lib/libiconv.la: No such file or directory
sed: can't read /usr/lib/libiconv.la: No such file or directory
libtool: link: `/usr/lib/libiconv.la' is not a valid libtool archive
make[3]: *** [libbfd.la] Error 1
make[3]: Leaving directory `/usr/local/src/gcc-binutils/trunk/objdir-binutils/bf
d'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/gcc-binutils/trunk/objdir-binutils/bf
d'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/usr/local/src/gcc-binutils/trunk/objdir-binutils/bf
d'
make: *** [all-bfd] Error 2

chj@D90V2D0J /usr/local/src/gcc-binutils/trunk/objdir-binutils
$ 


Cheers,

/ChJ

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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