Mail Archives: djgpp/1994/09/24/10:19:37
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
- Raw text -