This is the mail archive of the 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]

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
--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)
-Bdynamic -o gnucap.exe

here lots of gnucap libraries, then:

-lstdc++ -lm -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt -lmingw32
-luser32 -lkernel32 -ladvapi32 -lshell32 -lmingw32 -lgcc -lmoldname -lmingwe
-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


Unsubscribe info:
Bug reporting:

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