This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: problem compiling libf2c/libI77 library on c4x
- To: Herman ten Brugge <Haj dot Ten dot Brugge at net dot HCC dot nl>
- Subject: Re: problem compiling libf2c/libI77 library on c4x
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Date: Tue, 06 Jun 2000 20:38:32 +0200
- CC: gcc-patches at gcc dot gnu dot org
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <200006051701.SAA01191@net.HCC.nl>
Herman ten Brugge wrote:
> I found a problem in the rdfmt.c library file in the libf2c/libI77
> directory. On the c4x sizeof(char) == sizeof(short). This makes the
> case statement fail. I changed the case statement into an if-then-else
> sequence to solve the problem.
>
> Herman.
>
> 2000-06-01 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
>
> * rdfmt.c (rd_L): Use if-then-else instead of case statement to
> solve problems when sizeof(char) == sizeof(short).
This is fine - please install it.
Thanks,
--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://g95.sourceforge.net/ (under construction)