Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jun 1998 21:42:27 -0400 (EDT)
From:      Chuck Robey <chuckr@glue.umd.edu>
To:        Peter Jeremy <peter.jeremy@alcatel.com.au>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Making world with gcc-2.8.1
Message-ID:  <Pine.BSF.3.96.980616214124.340F-100000@localhost>
In-Reply-To: <199806102250.IAA23365@gsms01.alcatel.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 11 Jun 1998, Peter Jeremy wrote:

> I would like to do a make world using gcc-2.8.1, tweaked for my system
> (ie Pentium-II), rather than the modified gcc-2.7.2.1 included in
> 2.2.6-R.
> 
> My preferred option is to change /usr/src/contrib/gcc to be gcc-2.8.1
> (with the relevant FreeBSD native patches added from the old gcc) and
> modify /usr/src/gnu/usr.bin/cc to compile it.  I'm having problems
> trying to get the correct rules for building things like c-parse.o
> (where the object is wanted for cc1, but the source file was built
> from c-parse.in by cc_tools.
> 
> A fallback procedure is to drop cc from the lib-tools list and
> /usr/src/gnu/usr.bin/Makefile, relying on the version installed in
> /usr/local/bin instead.  (This also needs a few other tweaks to
> make sure the system cc isn't used anywhere - particularly by mkdep).
> 
> Has anyone else attempted this?  Does anyone have any useful hints?

Couldn't you just have installed gcc-2.8.1 from ports, and then set CC
and CXX in /etc/make.conf to point at /usr/local/bin/gcc and
/usr/local/bin/g++?


----------------------------+-----------------------------------------------
Chuck Robey                 | Interests include any kind of voice or data 
chuckr@glue.umd.edu         | communications topic, C programming, and Unix.
213 Lakeside Drive Apt T-1  |
Greenbelt, MD 20770         | I run Journey2 and picnic (FreeBSD-current)
(301) 220-2114              | and jaunt (NetBSD).
----------------------------+-----------------------------------------------





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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980616214124.340F-100000>