Date: 24-SEP-1994 15:23:22 +0200 From: TAUPIN AT rsovax DOT lps DOT u-psud DOT fr Subj: _opoen and open, _close and close, quid ? To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: gcc compiling of f2c output I'm trying to gcc-compile and link a file produced by f2c (Fortran to C) comiler. The output file (huge) is compiled OK on HP_UX. But when I attempt to gcc-compile it, I get undevined symbols "_open" "_close" (possibly others). After searching the C files, I find in a f2c libry include file, namely RAWIO.H, the following sequence: #ifdef MSDOS #include "io.h" #define close _close #define creat _creat #define open _open #define read _read #define write _write #endif Question: if I cancel these definitions (since "open" is known), will I be OK ? Daniel Taupin