Subject: Re: Compiling f2c with gcc To: TAUPIN AT rsovax DOT lps DOT u-psud DOT fr Date: Wed, 5 Oct 1994 09:27:19 +0100 (MET) Cc: djgpp AT sun DOT soe DOT clarkson DOT edu (user alias) From: Christoph Kukulies Reply-To: Christoph Kukulies > > Subject: compiling f2c with gcc > > 1. When I say "make f2c" on my PC (or "make" alone) I get: > "Error makefile : 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