pkgsrc-Users archive

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

Re: GCC and as

It might be cool to have a single PREFER.toolchain=pkgsrc, introducing
things like this to a particular chosen GCC version:

.if ${PREFER.toolchain} == "pkgsrc"
.  include "../../devel/binutils/"
CONFIGURE_ARGS+=	--with-gnu-as --with-as=${PREFIX}/bin/gas
CONFIGURE_ARGS+=	--with-gnu-ld --with-ld=${PREFIX}/bin/gld

Introduce the relevant GCC_REQD and GFORTRAN_VERSION
Make them required at bootstrap in a way that works

We can keep your favourite GCC version until C++14/C++17 starts to
appear in critical packages.

then test for centos 5 at bootstrap and decide if you want to make it
the default, or maybe test for linux x86 + old binutils.*

(I know is kinda awful...)

* Please solicit opinions before flipping a default, since this is
pretty invasive and there are a few other old-CentOS users.

Home | Main Index | Thread Index | Old Index