From 6f2da673456ab41bac38b582db8514446436456b Mon Sep 17 00:00:00 2001 From: jperkin Date: Fri, 13 Jul 2012 16:12:41 +0000 Subject: Support GCCBASE in bootstrap, and provide a working example based on OmniOS. --- bootstrap/README.Solaris | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'bootstrap/README.Solaris') diff --git a/bootstrap/README.Solaris b/bootstrap/README.Solaris index e1deab5886b..c089b1049cd 100644 --- a/bootstrap/README.Solaris +++ b/bootstrap/README.Solaris @@ -1,4 +1,4 @@ -$NetBSD: README.Solaris,v 1.13 2012/01/11 01:15:17 riz Exp $ +$NetBSD: README.Solaris,v 1.14 2012/07/13 16:12:41 jperkin Exp $ You will need a working C compiler. Any version of gcc >2.8 should work, 2.95.x and 3.x have been tested. SunPro 5 and 8 have been @@ -48,8 +48,16 @@ for building all packages. See http://www.NetBSD.org/docs/software/packages.html for binary kits and initial packages, including gcc. +If the gcc installation is not in your $PATH you will need to pass +additional flags to bootstrap, for example: + + env CC=/opt/gcc-4.6.3/bin/gcc \ + GCCBASE=/opt/gcc-4.6.3 \ + ./bootstrap --abi=64 + It is recommended that an external gcc be used only for bootstrapping, -then remove gcc and install the pkgsrc binary package. +and that you set USE_PKGSRC_GCC=yes in mk.conf so that the appropriate +pkgsrc gcc is installed and used. Binary packages of gcc can be found through http://www.sunfreeware.com/ -- cgit v1.2.3