delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/09/13:13:58

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 9 Oct 2002 19:11:09 +0200
From: =?iso-8859-1?Q?Christian_J=F6nsson?= <christian AT j-son DOT org>
To: binutils <binutils AT sources DOT redhat DOT com>
Cc: cygwin <cygwin AT cygwin DOT com>
Subject: How do I compile binutils on cygwin?
Message-ID: <20021009191108.A8827@u1sparc.j-son.org>
Mail-Followup-To: binutils <binutils AT sources DOT redhat DOT com>,
cygwin <cygwin AT cygwin DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5.1i

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 AT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019