delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/09/03:59:00

Date: Wed, 09 Oct 1996 08:46:31 +0100
From: Teun Burgers <burgers AT ecn DOT nl>
Subject: Re: f2c for version 2
To: djgpp AT delorie DOT com
Message-id: <9610090746.AA06415@ecnfac.ecn.nl>

The following message was posted to this mailing list in march:

----- Begin Included Message -----


I generated F2C.EXE from sources of version 19660301 using V2. It
looks like working succecfuly, at least my simple programs.
You need to change about fscanf() in format.c, i.e.

from:
    if (fscanf (infile, "%d", &token) == EOF)
to:
    if (fscanf (infile, "%d", &token) == NULL)

Because return value of fscanf() of V2 is different from UNIX.
You can get the latest f2c sources from
	ftp://netlib.att.com/netlib/f2c/
and package of binary and library from
	ftp://shiho.tokyo-u-fish.ac.jp/pub/f2c/19960301/msdos/f2c.zip

Please try it.

	Toru

Toru Suzuki
School of Earth and Ocean Sciences	
University of Victoria
mailto:toru AT maelstrom DOT seos DOT uvic DOT ca
http://maelstrom.seos.uvic.ca/people/toru/toru.html


----- End Included Message -----

- Raw text -


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