pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: gcc version selection
On Fri, 03 Oct 2014 21:21:24 +0900, Patrick Welche <prlw1%cam.ac.uk@localhost> wrote:
1) teach mk/compiler/gcc.mk to use 4.4 for 4.3?
2) change GCC_REQD in Makefiles from 4.3 to 4.4?
3) something else?
(see also PR pkg/49025)
Define following in mk/platform/${OPSYS}.mk;
_OPSYS_PKGSRC_GCC_SUPPORTED
list of supported pkgsrc gcc versionon the platform.
_OPSYS_PKGSRC_GCC_INCOMPATIBLE
list of unsupported pkgsrc gcc version on the platform.
_OPSYS_PKGSRC_GCC_DEFAULT
pkgsrc gcc version used by default
for example
_OPSYS_PKGSRC_GCC_SUPPORTED= 46 47 49 50
_OPSYS_PKGSRC_GCC_INCOMPATIBLE= 34 48
_OPSYS_PKGSRC_GCC_DEFAULT= 47
Change pkgsrc gcc version selection logic to following:
with GCC_REQD=4.3 2.8.0, and builtin gcc is 4.1,
_OPSYS_PKGSRC_GCC_DEFAULT 4.7 is sufficient and used.
with GCC_REQD=4.9, higher than _OPSYS_PKGSRC_GCC_DEFAULT,
highest supported 50 will be used.
--
OBATA Akio / obata%lins.jp@localhost
Home |
Main Index |
Thread Index |
Old Index