Re: using gcc/g++ 3.0 without uninstalling 2.95?
On Wed, Jan 16, 2002 at 10:11:47PM -0600, Adam Majer wrote:
> On Wed, Jan 16, 2002 at 10:51:35PM -0500, Carl Fink wrote:
> > Now, my Testing system has both 2.95.4 and 3.0 installed. Is there a
> > straightforward way to make this one program compile with 3.0, using make?
> > Edit the makefile? Change my path? Set some environment variable?
>
> version 3 is just
>
> gcc-3.0
> g++-3.0
>
> Just edit the makefile.
Many makefiles will also be happy with you setting CC=gcc-3.0 and
CXX=gcc-3.0 in the environment.
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: