Mail Archives: djgpp/1994/10/05/07:40:11
>
> 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.
What version /type of make are you using? Have you tried gmake (gnu
make)?
>
> 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:
^.h
> "extern void exit()" .
You ought to get the latest version of f2c which has better ANSIfication
than the version you are using.
>
> What is the good one?
void volatile exit(int) is the correct one. (in terms of ANSI speaking)
>
> Thanks
> DT
>
--Chris Christoph P. U. Kukulies kuku AT acds DOT physik DOT rwth-aachen DOT de
FreeBSD 1.1.5(RELEASE) (GILMULTICAST) #0: Mon Aug 15 13:10:28 MET DST 1994
- Raw text -