This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

libI77 compile error


Someone is falsely quoting me.  I wrote nothing about f2c on 24 Jan. 2000
and my writings on f2c do not include the text shown in your message
(copied below).

Correct f2c source is available from netlib, e.g.,

	ftp://netlib.bell-labs.com/netlib/f2c/libf2c.zip

which, in my experience, compiles out of the box under Linux.
I do not know why the gcc people modify this correctly working source.

-- dmg

> From loewis@informatik.hu-berlin.de Sat Jan 29 13:39:07 2000
From: loewis@informatik.hu-berlin.de
To: gcc-bugs@gcc.gnu.org
CC: <dmg@bell-labs.com>
Subject: libI77 compile error

When compiling gcc-2_95-branch on i586-pc-linux-gnu, compilation breaks
with the error message

/home/martin/egcs/obj/gcc/xgcc -B/home/martin/egcs/obj/gcc/ -B/usr/local/newabi/i586-pc-linux-gnu/bin/ -c -DSkip_f2c_Undefs -DAllow_TYQUAD -I. -I../../../../libf2c/libI77 -I.. -I../../../../libf2c/libI77/..  -DSTDC_HEADERS=1 -D_POSIX_SOURCE=1 -DHAVE_TEMPNAM=1 -DNON_ANSI_RW_MODES=1 -DNO_EOF_CHAR_CHECK=1 -DSkip_f2c_Undefs=1  -g -O2 ../../../../libf2c/libI77/endfile.c
../../../../libf2c/libI77/endfile.c: In function `t_runc':
../../../../libf2c/libI77/endfile.c:106: structure has no member named `urwt'

I believe this was caused by the change

Mon Jan 24 20:28:35 CET 2000  David M. Gay <dmg@bell-labs.com>

	* libI77/endfile.c (t_runc): set state to writing
	(b->uwrt = 1) when an endfile statement requires copying the file.

Changing the access to read

	b->uwrt = 1;

fixes the problem.

Regards,
Martin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]