Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Wed, 21 Mar 2001 11:36:03 -0800 (PST) From: Nate Lawson To: cygwin AT cygwin DOT com Subject: dllcrt2.o not found Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Thanks for the help getting the dll to compile. It worked. However, I'm still having linking problems. 1. Does it matter whether a DLL is linked in character or windows mode? (It makes no GDI calls). 2. Should I use gcc -shared or gcc -mdll to build? 3. Why can't it find dllcrt2.o? I've tried adding -lmsvcrt or -ldllcrt but no luck. Here is my linking line: gcc -mwindows -mno-cygwin -DDBG -s -Wl,--out-implib,Packet.a -mdll -o Packet.dll Packet.def Packet32.o -L /usr/lib/mingw /usr/lib/gcc-lib/i686-pc-cygwin/gcc-2.95.2-9/../../../../i686-pc-cygwin/bin/ld: cannot open dllcrt2.o: No such file or directory collect2: ld returned 1 exit status make: *** [main] Error 1 Thanks, Nate -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple