delorie.com/archives/browse.cgi | search |
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: | <005601c29000$3eed1600$78d96f83@pomello> |
From: | "Max Bowsher" <maxb AT ukf DOT net> |
To: | "Denis Dupeyron" <denis DOT dupeyron AT st DOT com>, <cygwin AT cygwin DOT com> |
References: | <004a01c28ff9$7ca211a0$3f9281a4 AT zav100013> |
Subject: | Re: mno_cygwin gcc 3.2 |
Date: | Tue, 19 Nov 2002 19:17:04 -0000 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1106 |
Denis Dupeyron <denis DOT dupeyron AT st DOT com> wrote: >> 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... You've left out the actual error. I think that -lm is an alias of -lcygwin. Get rid of it. Neither Cygwin or MinGW has a seperate math library. Max. -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |