🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #696

Re: how do you recompile gcc if you don't have cc?

#696
From: Rusty Wright
Date: Mon, 21 Dec 1992 23:28
17 lines
1040 bytes
As Jim Lynch (jimlynch@netcom.com) and others suggested, if you do

	make CC=/opt/cygnus/bin/gcc LANGUAGES=c

it properly makes gcc.

When I compile gcc I like to have it recompile itself with itself,
which you can do via "make bootstrap" but that doesn't pass CC on
properly, so in order to get that to work you'll need to edit the
Makefile and for the bootstrap: action, fix the first non-commented
line and add

	CC="$(CC)"

to it.  Now mine says

	$(MAKE) CC="$(CC)" LANGUAGES=c
Technical Details
Message-ID: <RUSTY.92Dec21152812@groan.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!spool.mu.edu!agate!agate!rusty
References: <RUSTY.92Dec18150227@groan.Berkeley.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!spool.mu.edu!agate!agate!rusty
From: rusty@groan.Berkeley.EDU (Rusty Wright)
Newsgroups: gnu.gcc.help,comp.unix.solaris
Subject: Re: how do you recompile gcc if you don't have cc?
Message-ID: <RUSTY.92Dec21152812@groan.Berkeley.EDU>
Date: 21 Dec 92 23:28:12 GMT
References: <RUSTY.92Dec18150227@groan.Berkeley.EDU>
Distribution: inet
Organization: University of California Berkeley
Lines: 17
NNTP-Posting-Host: groan.berkeley.edu
In-reply-to: rusty@groan.Berkeley.EDU's message of 18 Dec 92 15:02:27