g77 errors
tonyr
ulist at gs1.ubuntuforums.org
Wed May 3 17:48:37 UTC 2006
Well, ubuntu-users attachments don't come through to the Ubuntu Forums,
so I had to go over to the ubuntu-users mailing list to see it. Tony
Arnold
is correct about the leading spaces/tabs, except for the comments (C
has to be in column 1).
The single quote shows up as '?' (question mark) on my laptop
(US West Coast, American English Language, American English keyboard).
I also edited your sample to fix the comments, single quotes and
spacing.
The g77 compiler apparently needs a command line argument to deal with
REAL() and AIMAG(). See
'
http://cclib.nsu.ru/projects/gnudocs/gnudocs/g77/g77_67.html'
(http://cclib.nsu.ru/projects/gnudocs/gnudocs/g77/g77_67.html)
The command line I used is
g77 -fugly-complex -ojcb003 jcb003.f
It compiles and runs, producing
REAL() is not Fortran 90
AIMAG() is not Fortran 90
The g77 compiler also allows free-from code formatting, using the
-ffree-form command line argument, but that requires the comment
character to be '!' (exclamation point).
--
tonyr
More information about the ubuntu-users
mailing list