This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: mno_cygwin gcc 3.2
- From: "Denis Dupeyron" <denis dot dupeyron at st dot com>
- To: <cygwin at cygwin dot com>
- Date: Tue, 19 Nov 2002 19:28:41 +0100
- Subject: RE: mno_cygwin gcc 3.2
> 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/