g77 errors

mutsuura@mutsuura.com attila.j.horvath at gmail.com
Wed May 3 18:10:52 UTC 2006


Thank you - to BOTH Tony's!

Also found out that "-fugly-complex" deals w/ the REAL and AIMAG issue as
well.

Thx again! :-))))))))


On 5/3/06, tonyr <ulist at gs1.ubuntuforums.org> wrote:
>
>
> 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
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060503/b27e10e3/attachment.html>


More information about the ubuntu-users mailing list