www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/11/04/18:17:39

Date: Thu, 4 Nov 93 17:18:41 EST
From: lupoja AT feynman DOT ml DOT wpafb DOT af DOT mil (Jim Lupo)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Compiling f2c with djgpp: Missing Step
Cc: khc AT eece DOT ksu DOT edu

As Ken Carpenter pointed out, my instructions for compiling f2c were
incomplete.  In f2c.h, you must modify the lines near the definition
of abs to read:

	...
	#ifndef __GO32__
	#define abs(x) ((x) >= 0 ? (x) : -(x))
	#endif
	#define dabs(x) (doublereal)abs(x)
	...

Jim
    ------------------- Optional Methods -----------------------
ATTN: Dr James A. Lupo                    COMM:  (513) 255-6671, Ext 3160
WL/MPLJ Bldg 651                          DSN:         785-6671, Ext 3160
3005 P St Ste 1                           FAX:           5-1128
Wright-Patterson AFB OH 45433-7702        lupoja AT feynman DOT ml DOT wpafb DOT af DOT mil
                                                 (134.131.35.31)

- Raw text -


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