Hi, the tc-getF77 function in toolchain-funcs.eclass calls f77 as a default FORTRAN 77 compiler which is not defined. Solution: either call gfortran or g77 as a default depending on the selected gcc profile. Note it could be also due to the fact that gcc-config wraps f77 to g77 when probably should do it to gfortran or g77 depending on gcc version (of what I see in sys-devel/gcc-config/files/wrapper-1.5.1.c). Thanks
the sci/fortran guys have been handling the fortran functions. toolchain team really hasnt had a hand in crafting them.
The proper way would be to do all this in fortran.eclass at some time in the future - but should toolchain-funcs.eclass then inherit fortran?
Sebastien could you proceed here with a fix? Or is the problem solved?
Created attachment 277167 [details, diff] wrapper-1.5.2.c.diff trivial patch to fix this for recent gcc. but really it should check on the selected gcc version.
if fortran guys are ok with that, i can easily add it
(In reply to comment #5) > if fortran guys are ok with that, i can easily add it fortran guys are us (sci). please do.
ive committed it now then, thanks