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"
BUILDLINK_DEPMETHOD.binutils=	full
.  include "../../devel/binutils/buildlink3.mk"
CONFIGURE_ARGS+=	--with-gnu-as --with-as=${PREFIX}/bin/gas
CONFIGURE_ARGS+=	--with-gnu-ld --with-ld=${PREFIX}/bin/gld
.endif

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 gcc.mk 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