www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/10/05/07:40:11

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 <kuku AT acds DOT physik DOT rwth-aachen DOT de>
Reply-To: Christoph Kukulies <kuku AT acds DOT physik DOT rwth-aachen DOT de>

> 
> 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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019