Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Aug 1999 14:46:26 +0930 (CST)
From:      Greg Lewis <glewis@trc.adelaide.edu.au>
To:        charon@freethought.org
Cc:        Greg Lewis <glewis@trc.adelaide.edu.au>, freebsd-questions@FreeBSD.ORG
Subject:   Re: GNU gcc 2.95.1
Message-ID:  <199908300516.OAA78660@ares.maths.adelaide.edu.au>
In-Reply-To: <3.0.5.32.19990827012425.02748c70@mail> from "charon@freethought.org" at "Aug 27, 1999 01:24:25 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> >The main issue is that the 3.x kernel will not compile correctly with 
> >egcs/gcc-2.95.  It will compile, just not correctly :).  The relevant
> >kernel code has been fixed in the 4.0-CURRENT branch but I don't know
> >of any plans to backport the changes to -STABLE.  
> >
> >I've used egcs for C++ development for quite some time and am very pleased
> >with it overall.
> 
> Just a naive question: if I install egcs, is there anything I have to do to
> prevent 'make' from using it (i.e. I'd like only 'g++' to use it)?  Thanks,

Make will use whatever comes first in your path, unless you specifically
override it with some environment variables.  Some pertinent variables are
CC (the C compiler) and CXX (the C++ compiler).  You could set these to
the value you want in your .login or .cshrc or whatever the correct place
is for your shell :).  I actually use egcs for everything except for
the system binaries and the kernel (i.e., when I'm doing make world).

-- 
Greg Lewis 				glewis@trc.adelaide.edu.au
Computing Officer			+61 8 8303 5083
Teletraffic Research Centre


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908300516.OAA78660>