Aaron Patton wrote: > Ok I went with the former and it got rid of all the errors except the > following > $ make -f Makefile > C:/msys/1.0/mingw/bin/g++ -o cirfets CIRFTYPES.o CIRFETS.o CIRFCHANS.o > CIRFERRS.o CIRFIO.o CIRFPOST.o CIRFSUBS.o libiolib.a -lgfortran > C:/msys/1.0/mingw/lib/libmingw32.a(main.o):main.c:(.text+0x104): > undefined reference to `WinMain@16' > collect2: ld returned 1 exit status > C:\msys\1.0\mingw\bin\make.exe: *** [cirfets] Error 1 Oops, I guess you'll also need -lgfortranbegin if your entry point is in Fortran code. Brian