pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: gcc and libtool-fortran



On Thu, Feb 20, 2025 at 08:05:15PM -0500, Greg Troxel wrote:
> We have multiple styles in pkgsrc
> 
>   A) configure which version is wanted, and use it
> 
>   B) among acceptable, look for what's installed, and act like it has been configured.
> 
> I have come to prefer, at least mildly, style A, as being more predictable.


my concern with style A as it is currently deployed is that the
configuration settings are down in pkgsrc/mk/compilers/gfortran.mk
where it is not that easy to find.  e.g. compared to the C/C++
compiler settings which I think come from the bootstrap script's
"--compiler" flag and are placed in $prefix/etc/mk.conf...

i had not thought about flang being an option, so that's also a
good point that you've made.


>   Given that gcc12 is troubled on some macOS versions, maybe we should
>   just be switching macOS fortran to 14.  I suspect that fortran is
>   straightforward and that gcc12 and gcc14 behave pretty much the same
>   if they build (but tell me if that's wrong).  But I don't know if
>   gcc14 is going to fail where 12 succeeds, on older macOS versions, or
>   x86-64, etc.

yeah, i don't know either, but it's clear the gcc12 setting is
starting to bit rot...

chuck



Home | Main Index | Thread Index | Old Index