On 3/19/21, Iain Sandoe <[email protected]> wrote:
>> On Fri, 19 Mar 2021, Tobias Burnus wrote:
>
> you should be able to work around this without changing the compiler or
> rebuilding it,
>
> find
>
> /path/to/compiler/install/lib/libgfortran.spec
>
> make a copy of that (for backup only)
>
> the file contains something like:
>
> #
> # This spec file is read by gfortran when linking.
> # It is used to specify the libraries we need to link in, in the right
> # order.
> #
>
> %rename lib liborig
> *lib: -lquadmath -lm %(libgcc) %(liborig)
>
> change the last line line to :
>
> *lib: %{!static-libgfortran: -lquadmath } %{static-libgfortran:
> libquadmath.a%s} %(libgcc) %(liborig)
>
> ===
>
> and try your link again
>
Tried that, the error message is:
ld: library not found for -lSystem
Indeed there is no libsystem.a anywhere on the computer. Any ideas?
Daniel Feenberg