From: colin AT fu DOT is DOT saga-u DOT ac DOT jp (Colin Peters) Subject: Minimalist GNU-Win32 16 Oct 1996 23:50:45 -0700 Sender: daemon AT cygnus DOT com Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <199610170512.OAA24552.cygnus.gnu-win32@bird.fu.is.saga-u.ac.jp> Original-To: gnu-win32 AT cygnus DOT com Original-CC: paag AT tid DOT es, tom AT batc DOT allied DOT com, tomb AT nccn DOT net Original-Sender: owner-gnu-win32 AT cygnus DOT com Some time ago I mentioned that I was working on getting GCC as distributed by Cygnus decoupled from the cygwin.dll library so I could write new, non-UNIX-flavoured Win32 programs using GCC. The fruits of my efforts, up to now, are located at the following page: http://www.fu.is.saga-u.ac.jp/~colin/mingw32.html There is a link there to a tarred and gzipped file (mingw32-0.1.0.tar.gz 82 Kbytes) containing: * Instructions on the minimal executables and librarys you need to get GCC to run on your system, plus hints on setting up your environment so that you can compile. * Source and object code for a crt0.o that does not depend on cygwin.dll, this is the startup code that calls main/WinMain in your program. * Source and a library libmingw32.a that makes it possible to write programs using WinMain or main entry points. * An import library libcrtdll.a and the .def file used to create it that give you access to the standard C run time library that came with Windows 95 and NT: CRTDLL.DLL (you don't need to distribute a DLL with your code). * The C run time library header files (stdlib.h, stdio.h and so on) set up to work with CRTDLL.DLL. * A 'specs' file that configures GCC to include the appropriate libraries and defines. The header files are preliminary, and a lot of work remains to be done (hint hint), but you can produce working, useful programs with this stuff. For example, I have managed to port Jam (a make replacement) over to this environment with only a little work. With a little more work on the header files Jam, and other similarly portable programs, should compile and run with no changes at all. Finally, everything that I have written in there is public domain code (for reasons I briefly discuss in the package itself). If you are interested, and especially if you use it and find areas that need fixing or improvement (I know there are lots), then please drop me an email at colin AT bird DOT fu DOT is DOT saga-u DOT ac DOT jp. Colin. ------------------------------------------------------------------------------ Colin Peters ------------ Saga Univ. Dept. of Information Science, Saga, JAPAN http://www.fu.is.saga-u.ac.jp/~colin/home.html - colin AT bird DOT fu DOT is DOT saga-u DOT ac DOT jp $@%3%j%s(J $@%T!<%?!<%:(J - $@:42lBg3XM}9)3XIt>pJs2J3X2J>pJs4pAC3X9V:B(J - Current favorite kanji: $@@2$l(J $@