Friday, 10 April 2020

Re: [gccsdk] Building GCC 8

On 10/04/2020 19:07, Chris Gransden wrote:
> I did a quick test of the GCC 8 native fortran compiler and it produced
> working executables.
>
> I had to name the file prime/f90 to get it build. Not sure if it needs
> adding to sfix in the !Run file.

The test I did was to put the source file in an f directory as you
would put C source in a c directory and that worked. Does that
work for you?

I had to use the -ffree-form switch to get the compiler to accept the
helloworld source I found on the web. Perhaps using a f90 suffix forces
the compiler to use a more appropriate fortran standard?

Lee.

_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK

No comments:

Post a Comment