Thank you Chris,

I found gfortran-mp-devel in /opt/local/bin.

However trying to compile my source a got linker error:
ld: library not found for -lm

And I am lost again. I did not specified any linker options,
just compiler options:
-g -fbounds-check -ffpe-trap=invalid,zero,overflow 
-ffpe-summary=invalid,zero,overflow -fno-sign-zero -fno-automatic 
-Wuninitialized

(Sorry for beginner question. Google did not help.)

Petr

______________________________________________________________
> Od: "Chris Jones" <[email protected]>
> Komu: [email protected]
> Datum: 20.03.2021 14:04
> Předmět: Re: gfortran for M1?
>
> CC: <[email protected]>
>Hi,
>
>Gcc-devel provides gfortran for M1 machines by default.
>
>Chris
>
>> On 20 Mar 2021, at 1:01 pm, [email protected] wrote:
>> 
>> Is it already possible to install gfortran on M1?
>> It seems that gcc-devel does not have +gfortran variant and and other gcc 
>> versions are not compatible. 
>> Thank you, 
>> Petr
>
>
>

Reply via email to