Article View: gnu.gcc.help
Article #49746Re: Q. Efficiently updating gcc versions
From: Fergus Henderson
Date: Tue, 14 Dec 1993 15:17
Date: Tue, 14 Dec 1993 15:17
24 lines
1517 bytes
1517 bytes
bobz@crl.com (Robert Zawalski) writes: >Given a stage 2 build of gcc, with ./stage1/ deleted but >./stage2/ intact, is it sufficient to run > >cd ./gcc-2.5.x >patch -p < ../gcc-2.5.x-2.5.x+1.diff >make CC="stage2/xgcc -Bstage2/" CFLAGS="-g -O" >etc. >or should it be rebuilt from the start ? Yes, that is sufficient, but it's a good idea go through all the steps including "make compare", because it's a good regression test for gcc. Simply compiling gcc-2.5.x+1 is no guarantee that it works, but if you also do all the steps up to a successful "make compare", then you can be pretty confident that the new version of gcc works. >Is there a good reason to start with a commercial cc >(eg SunOS cc) ? No. -- Fergus Henderson fjh@munta.cs.mu.OZ.AU
Technical Details
Message-ID:
<9334902.1875@mulga.cs.mu.OZ.AU>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!zib-berlin.de!netmbx.de!Germany.EU.net!EU.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!munnari.oz.au!cs.mu.OZ.AU!munta.cs.mu.OZ.AU!fjhReferences:
<2efq55$rae@crl.crl.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,f5db587a9a51b85a X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-12-14 12:02:59 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!zib-berlin.de!netmbx.de!Germany.EU.net!EU.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!munnari.oz.au!cs.mu.OZ.AU!munta.cs.mu.OZ.AU!fjh From: fjh@munta.cs.mu.OZ.AU (Fergus Henderson) Subject: Re: Q. Efficiently updating gcc versions Message-ID: <9334902.1875@mulga.cs.mu.OZ.AU> Keywords: gcc patch diff Sender: news@cs.mu.OZ.AU Organization: Computer Science, University of Melbourne, Australia References: <2efq55$rae@crl.crl.com> Date: Tue, 14 Dec 1993 15:17:46 GMT Lines: 24