Newsgroups: comp.os.msdos.djgpp Subject: A couple of "GNU mingw32 GCC" clueless newbie questions From: samuel DOT siren AT mailbox DOT swipnet DOT se (Samuel G Siren) Organization: . X-Newsreader: WinVN 0.99.6 Lines: 48 Message-ID: NNTP-Posting-Host: 130.244.180.68 X-Complaints-To: news-abuse AT swip DOT net X-Trace: nntpserver.swip.net 931009318 130.244.180.68 (Sat, 03 Jul 1999 15:41:58 MET DST) NNTP-Posting-Date: Sat, 03 Jul 1999 15:41:58 MET DST X-Sender: s-18953 AT dialup180-2-4 DOT swipnet DOT se Date: Sat, 03 Jul 1999 13:41:58 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hopefully, my questions aren't off-topic in this newsgroup. (This is my first posting, and I saw in DejaNews that the subject has been mentioned.) My questions are about the GNU mingw32 free GCC compiler on Windows 95/98: 1. How does one compile to object files? a.c --> a.o (or is it a.obj??) 2. Hows does one link from object files to exe-files? a.o, b.o, c.o --> a.exe 3. How does one link object files to DLLs? a.o, b.o, c.o --> a.dll 4. How does one compile/link C and object files DLLs to exe-files? a.c, b.dll --> a.exe a.c, b.o, c.dll --> a.exe a.o, b.o, c.dll --> a.exe The only thing I've succeded in so far is the trivial a.c --> a.exe. I'm almost a complete newbie when it comes to developing on Windows. I've looked at the GNU mingw32 GCC documentation, but I'm still completely clueless. In the mingw32 GCC "kit", there is a DLL-test (i.e. build a DLL and an application using the DLL) included, on the directory: ...\MINGW32\samples\dlltest\ Among the files, there is a file "jamfile" and another "dll.def", an I assume that these have got something to with building the DLL and the application. However, I haven't found any documentetion that describes these files. Anybody out there who knows about these matters? I'll be very grateful for any help on this. Regards, /Samuel Sirén, Stockholm, Sweden - - - - - - - - - - - - - - - /