tech-pkg archive

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

Re: Can we make gfortran the default Fortran?



On 01/01/18 16:29, David Holland wrote:
On Mon, Jan 01, 2018 at 03:14:11PM -0600, Jason Bacon wrote:
  > On 01/01/18 14:50, David Holland wrote:
  > > On Mon, Jan 01, 2018 at 09:36:20PM +0100, Joerg Sonnenberger wrote:
  > >   > > The big issue is libstdc++, not libgcc.
  > >   >
  > >   > In the case of g95, the problem is actually libgcc_s.
  > >
  > > So what's the solution then? An ELF binary linked against two
  > > incompatible versions of shared libgcc will never fully work.
  >
  > This seems to lead us back to "build everything with the same compiler
  > suite" if possible.

...everything including all of base, and particularly libc...

I was referring only to packages, except for the new minimum gcc and dependencies, as I'm doing now via mk.conf.

X11_TYPE=        modular
PREFER_NATIVE=        no
PREFER_PKGSRC=        yes
PKGSRC_FORTRAN=        gfortran

.if     empty(PKGPATH:Marchivers/bzip2) && \
    empty(PKGPATH:Marchivers/pax) && \
    empty(PKGPATH:Marchivers/xz) && \
    empty(PKGPATH:Mconverters/help2man) && \
    empty(PKGPATH:Mconverters/p5-Unicode-EastAsianWidth) && \
    empty(PKGPATH:Mdevel/autoconf) && \
    empty(PKGPATH:Mdevel/gettext-lib) && \
    empty(PKGPATH:Mdevel/gettext-tools) && \
    empty(PKGPATH:Mdevel/gmp) && \
    empty(PKGPATH:Mdevel/gtexinfo) && \
    empty(PKGPATH:Mdevel/libtool-base) && \
    empty(PKGPATH:Mdevel/m4) && \
    empty(PKGPATH:Mdevel/ncurses) && \
    empty(PKGPATH:Mdevel/nbpatch) && \
    empty(PKGPATH:Mdevel/p5-gettext) && \
    empty(PKGPATH:Mlang/gcc5) && \
    empty(PKGPATH:Mlang/gcc5-libs) && \
    empty(PKGPATH:Mlang/perl5) && \
    empty(PKGPATH:Mmath/cloog) && \
    empty(PKGPATH:Mmath/isl) && \
    empty(PKGPATH:Mmath/mpcomplex) && \
    empty(PKGPATH:Mmath/mpfr) && \
    empty(PKGPATH:Mmisc/p5-Locale-libintl) && \
    empty(PKGPATH:Mpkgtools/cwrappers) && \
    empty(PKGPATH:Mpkgtools/digest) && \
    empty(PKGPATH:Mpkgtools/pkg_install-info) && \
    empty(PKGPATH:Msysutils/checkperms) && \
    empty(PKGPATH:Mtextproc/p5-Text-Unidecode)

GCC_REQD+=5.0

.endif  # GCC_REQD

--
Earth is a beta site.


Home | Main Index | Thread Index | Old Index