Re: [wwwdocs] gcc-14/changes.htm - Offloading: -lm/-lgfortran is autolinked

2023-06-16 Thread Gerald Pfeifer
On Fri, 16 Jun 2023, Tobias Burnus wrote: > Thomas recently improved the offload experience by avoiding to use, e.g. > > gfortran -O3 -fopenmp qcd.f90 -lblas -foffload-options="-lgfortran -lm" > > as libm and libgfortran now automatically get linked as 'gfortran' links > -lgfortran and -lm on t

[wwwdocs] gcc-14/changes.htm - Offloading: -lm/-lgfortran is autolinked

2023-06-16 Thread Tobias Burnus
Thomas recently improved the offload experience by avoiding to use, e.g. gfortran -O3 -fopenmp qcd.f90 -lblas -foffload-options="-lgfortran -lm" as libm and libgfortran now automatically get linked as 'gfortran' links -lgfortran and -lm on the host (only those libraries, not others). Thus, the