delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/19/13:32:52

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
Message-ID: <004a01c28ff9$7ca211a0$3f9281a4@zav100013>
From: "Denis Dupeyron" <denis DOT dupeyron AT st DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: mno_cygwin gcc 3.2
Date: Tue, 19 Nov 2002 19:28:41 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

> Maybe adding '-v' to your link-stage invocation of gcc with show something
> helpful.

Here's what I get when I try to build gnucap:

Reading specs from /usr/lib/gcc-lib/i686-pc-mingw32/3.2/specs
Configured with: /netrel/src/gcc-3.2-1/configure --enable-languages=c,c++,
f77,java --enable-libgcj --enable-threads=posix --with-system-zlib
--enable-nls --without-included-gettext --enable-interpreter
--disable-sjlj-exceptions --disable-version-specific-runtime-libs --enable-s
hared
--build=i686-pc-linux --host=i686-pc-cygwin --target=i686-pc-cygwin
--enable-haifa --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc
--libdir=/usr/lib --includedir=/nonexistent/include --libexecdir=/usr/sbin
Thread model: posix
gcc version 3.2 20020818 (prerelease)
/usr/lib/gcc-lib/i686-pc-mingw32/3.2/../../../../i686-pc-mingw32/bin/ld.exe
-Bdynamic -o gnucap.exe
/usr/lib/gcc-lib/i686-pc-mingw32/3.2/../../../../i686-pc-mingw32/lib/crt2.o
/usr/lib/gcc-lib/i686-pc-mingw32/3.2/crtbegin.o
-L/usr/lib/gcc-lib/i686-pc-mingw32/3.2
-L/usr/lib/gcc-lib/i686-pc-mingw32/3.2/../../../../i686-pc-mingw32/lib
-L/usr/lib/gcc-lib/i686-pc-mingw32/3.2/../../..

here lots of gnucap libraries, then:

-lstdc++ -lm -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt -lmingw32
-luser32 -lkernel32 -ladvapi32 -lshell32 -lmingw32 -lgcc -lmoldname -lmingwe
x
-lmsvcrt /usr/lib/gcc-lib/i686-pc-mingw32/3.2/crtend.o

[edit] Just before hitting the 'send' button I tried to build gnugo
with -mno-cygwin. It worked (i.e. it doesn't require cygwin1.dll to run). So
I understand my setup is correct and the problem comes from gnucap alone.
Does anybody have an idea about what could be the problem ? Is it possible
that I'm linking by mistake with a library that requires cygwin1.dll ? Is
there an issue with the order in which the libraries are linked ? From this
you probably understand that I'm not an expert at debugging this kind of
error...

TIA,
Denis.


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