From owner-freebsd-hackers Wed Jun 10 15:51:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA12375 for freebsd-hackers-outgoing; Wed, 10 Jun 1998 15:51:23 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from gatekeeper.alcatel.com.au (gatekeeper.alcatel.com.au [203.17.66.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA12342 for ; Wed, 10 Jun 1998 15:51:01 -0700 (PDT) (envelope-from peter.jeremy@alcatel.com.au) Received: from mfg1.cim.alcatel.com.au ("port 2079"@[139.188.23.1]) by gatekeeper.alcatel.com.au (PMDF V5.1-7 #U2695) with ESMTP id <01IY3RL64ZKG003198@gatekeeper.alcatel.com.au> for hackers@freebsd.org; Thu, 11 Jun 1998 08:50:25 +1000 Received: from gsms01.alcatel.com.au by cim.alcatel.com.au (PMDF V5.1-10 #U2695) with ESMTP id <01IY3RKF6Q68I3TUKY@cim.alcatel.com.au> for hackers@freebsd.org; Thu, 11 Jun 1998 08:49:49 +1000 Received: (from jeremyp@localhost) by gsms01.alcatel.com.au (8.8.8/8.7.3) id IAA23365 for hackers@freebsd.org; Thu, 11 Jun 1998 08:50:20 +1000 (EST) Date: Thu, 11 Jun 1998 08:50:20 +1000 (EST) From: Peter Jeremy Subject: Making world with gcc-2.8.1 To: hackers@FreeBSD.ORG Message-id: <199806102250.IAA23365@gsms01.alcatel.com.au> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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? Peter -- Peter Jeremy (VK2PJ) peter.jeremy@alcatel.com.au Alcatel Australia Limited 41 Mandible St Phone: +61 2 9690 5019 ALEXANDRIA NSW 2015 Fax: +61 2 9690 5247 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message