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: | <010e01c28fef$e090fff0$78d96f83@pomello> |
From: | "Max Bowsher" <maxb AT ukf DOT net> |
To: | "Chris Twiner" <c_twiner AT hotmail DOT com> |
Cc: | <cygwin AT cygwin DOT com> |
References: | <F1465FP6H40B6hYA6qT00014771 AT hotmail DOT com> |
Subject: | Re: mno_cygwin gcc 3.2 |
Date: | Tue, 19 Nov 2002 17:19:54 -0000 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1106 |
Chris Twiner <c_twiner AT hotmail DOT com> wrote: >> No, can't see anything odd. >> >> Maybe adding '-v' to your link-stage invocation of gcc with show >> something helpful. >> > > It did no -L/lib/mingw for ld, so the spec file is wrong/incorrect on > my machine does this work properly on others? (Using Wl didn't do > much better either, passing -L/lib/mingw to it directly still places > it after the dllcrt2.o so the linker never finds it). > > What does your's show? gcc -mno-cygwin -v -shared -export-all dll.c -o hello.dll -Wl,--out-implib,libhello.dll.a ... /usr/lib/gcc-lib/i686-pc-mingw32/3.2/../../../../i686-pc-mingw32/bin/ld.exe --shared -Bdynamic -e _DllMainCRTStartup AT 12 -o hello.dll -export-all /usr/lib/gcc-lib/i686-pc-mingw32/3.2/../../../../i686-pc-mingw32/lib/dllcrt2 .o /usr/lib/gcc-lib/i686-pc-mingw32/3.2/crtbegin.o -L/usr/lib/gcc-lib/i686-pc-m ingw32/3.2 -L/usr/lib/gcc-lib/i686-pc-mingw32/3.2/../../../../i686-pc-mingw3 2/lib -L/usr/lib/gcc-lib/i686-pc-mingw32/3.2/../../.. /var/tmp/ccqxxSSp.o --out-implib libhello.dll.a -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt -lmingw32 -luse r32 -lkernel32 -ladvapi32 -lshell32 -lmingw32 -lgcc -lmoldname -lmingwex -lm svcrt /usr/lib/gcc-lib/i686-pc-mingw32/3.2/crtend.o Using gcc-3.2-3. 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 |