home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / gnu / gcc / help / 2796 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  1.0 KB

  1. Xref: sparky gnu.gcc.help:2796 comp.unix.solaris:429
  2. Path: sparky!uunet!olivea!spool.mu.edu!agate!agate!rusty
  3. From: rusty@groan.Berkeley.EDU (Rusty Wright)
  4. Newsgroups: gnu.gcc.help,comp.unix.solaris
  5. Subject: Re: how do you recompile gcc if you don't have cc?
  6. Message-ID: <RUSTY.92Dec21152812@groan.Berkeley.EDU>
  7. Date: 21 Dec 92 23:28:12 GMT
  8. References: <RUSTY.92Dec18150227@groan.Berkeley.EDU>
  9. Distribution: inet
  10. Organization: University of California Berkeley
  11. Lines: 17
  12. NNTP-Posting-Host: groan.berkeley.edu
  13. In-reply-to: rusty@groan.Berkeley.EDU's message of 18 Dec 92 15:02:27
  14.  
  15. As Jim Lynch (jimlynch@netcom.com) and others suggested, if you do
  16.  
  17.     make CC=/opt/cygnus/bin/gcc LANGUAGES=c
  18.  
  19. it properly makes gcc.
  20.  
  21. When I compile gcc I like to have it recompile itself with itself,
  22. which you can do via "make bootstrap" but that doesn't pass CC on
  23. properly, so in order to get that to work you'll need to edit the
  24. Makefile and for the bootstrap: action, fix the first non-commented
  25. line and add
  26.  
  27.     CC="$(CC)"
  28.  
  29. to it.  Now mine says
  30.  
  31.     $(MAKE) CC="$(CC)" LANGUAGES=c
  32.