Diffs for compiling glib-1.1.2 on Win32. (Yes, I am trying to port GTK, and did of course start with glib.) Pretty minimal changes were necessary. I use the Watcom 10.6 compiler, but any Win32 compiler should work. I also tried the configure script with the Cygwin tools, and the gcc included in that, and that works, too. The file glib-tml-980806.zip contains a hand-crafted glibconfig.h.watcom file that should be used as glibconfig.h with the Watcom compiler. Probably works OK also for Borland and MSVC. Also, in this zip file, are the project and target files for the Watcom IDE, and two Watcom linker directive files. Glib is built as a DLL. I didn't insert any __declspec(dllexport) or __cdecl stuff in the code. (That's compiler directives used to mark what functions should be exported from a DLL, and indicate their name mangling and calling sequence.) Probably this should be done, and would be better than having to list all the exported entry points in a linker directive file. I.e. some suitable macro ("GLIBEXPORT") would be defined as empty on Unix systems and as the correct magic incantations on Win32, and all entry points would be marked with GLIBEXPORT. Or something.