From: Judah Milgram Date: Wed, 16 Nov 1994 11:56:55 -0500 To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: djgpp+f2c Does anyone have experience combining f2c and djgpp? I have a largish Fortran application that survives f2c+cc on workstations, but am having trouble using it with djgpp. I can f2c it seemingly with no problems; can make the .o files too; the problems arise at link time. I'm using a precompiled source for f2c but am compiling the libraries myself with djgpp. The f2c readme discusses things which may require tweaking, but it would save a lot of work if someone has already been through this. (The current problem is an undefined reference to _open in one of the f2c library routines. Turns out open gets #defined to _open if MSDOS is defined; I tried removing -DMSDOS from the CFLAGS but no luck. Is MSDOS predefined in djgpp? Is there something about _open vs. open I should know about?) thanks, Judah Milgram milgram AT glue DOT umd DOT edu