This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Double precision in g77
- To: Iavor Veltchev <iavor at nat dot vu dot nl>
- Subject: Re: Double precision in g77
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Date: Fri, 11 Feb 2000 13:44:30 +0100
- CC: gcc at gcc dot gnu dot org
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <38A3EA8B.12D7452F@nat.vu.nl>
Iavor Veltchev wrote:
> How can I use DOUBLE PRECISION with g77? Programs compiled with g77
> requiring DOUBLE PRECISION do not work properly.
>
> -malign-double : doesn't help
That's a flag that causes g77 to align DOUBLE PRECISION variables and
arrays on the i386 architecture.
Could you be somewhat more explicit about what doesn't work correctly
(e.g. providing us with a 10-line program that shows the problem) ?
Lots of people are using g77 (including its DOUBLE PRECISION support,
which just follows from the fact that it is a conformant Fortran 77
implementation) daily without adverse effects ...
Cheers,
--
Toon Moene (toon@moene.indiv.nluug.nl)
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Phone: +31 346 214290; Fax: +31 346 214286
GNU Fortran: http://gcc.gnu.org/onlinedocs/g77_news.html