home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky gnu.gcc.help:2796 comp.unix.solaris:429
- Path: 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
-
- 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
-