Mail Archives: djgpp/1994/10/05/03:35:42
Subject: compiling f2c with gcc
1. When I say "make f2c" on my PC (or "make" alone) I get:
"Error makefile <nn>: Redefinition of target 'put.o' and a lot of
others. What is my error. NB, I added "CC = gcc" in it.
2. When making seperate compilations, e.g. "gcc -c output.c"
I get "defs.f" conflicting types for 'exit'.
In fact, djgppstd.h contains "void volatile exit(int)"
while defs.f contains:
"extern void exit()" .
What is the good one?
Thanks
DT
- Raw text -