This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
I am not sure if this is known or not, but I ran into a problem building an old fortran library. Taking as an example:
> cat check.f
program check
write(6,1000)
1000 format('check')
end
and building with:
gfortran -o check check.f
produces:
check
If I add -malign-double I get:
At line 2 of file check.f
Fortran runtime error: Missing initial left parenthesis in format
ïfï
$ gfortran --version
GNU Fortran (GCC) 4.3.0 20070530 (experimental)
Copyright (C) 2007 Free Software Foundation, Inc.
The fix is straightforward enough - I just have to take out -malign-double. The library I was building was last built (a long time ago) with g77 3.4.6 and I am certain this flag worked okay (although given the warning in the manual I'm not sure why it was used).
I'm running a Fedora Core #6 system (i686-pc-linux-gnuaout).
Steve
--
----------------------------------------------------------
----------------------------------------------------------
Attachment:
pgp00000.pgp
Description: PGP signature
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |