Mail Archives: djgpp/1999/07/03/12:19:07
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 - - - - - - - - - - - - - - - /
- Raw text -