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

  1. Path: sparky!uunet!pipex!bnr.co.uk!uknet!mcsun!sun4nl!fwi.uva.nl!casper
  2. From: casper@fwi.uva.nl (Casper H.S. Dik)
  3. Newsgroups: gnu.gcc.help
  4. Subject: Re: Help ! Compiling GCC 2.3.2 with GCC 2.0.2 under Solaris 2.0
  5. Keywords: GCC 2.3.2, GCC 2.0.2, Solaris 2.0
  6. Message-ID: <1992Dec26.113953.1774@fwi.uva.nl>
  7. Date: 26 Dec 92 11:39:53 GMT
  8. References: <Bz58M3.KCz@didymus.rmi.de>
  9. Sender: news@fwi.uva.nl
  10. Organization: FWI, University of Amsterdam
  11. Lines: 25
  12. Nntp-Posting-Host: adam.fwi.uva.nl
  13.  
  14. kkaempf@didymus.rmi.de (Klaus Kaempf) writes:
  15.  
  16. >I'm trying to install GCC 2.3.2 on a Sparc 2 running Solaris 2.0.
  17. >I have the Cygnus port of GCC 2.0.2 (taken from the Prime Time
  18. >Freeware CD, Vol 1, No 2b, July 92) up and running on the system,
  19. >but without the GNU assembler.
  20. >Compiling GCC 2.3.2 stops at the file term.c where the Solaris Assembler
  21. >(the one in /usr/ccs/bin/as) finds several
  22. >  'expressions involving an external symbol'
  23. >which it can't compute. I haven't tried porting GAS yet, fearing it could
  24. >encounter the same error. Now I'm asking the net, what is the right approach
  25. >to get GCC 2.3.2 running on Solaris 2.0 ??
  26.  
  27. I had the same problem on Solaris 2.1. Inspecting the generated assembly
  28. file I concluded that the error the assembler complained about
  29. was in the .stab[sn] entries, the debugging information.
  30. (I didn't take time to see whether this was cygnus-2.0.2's fault
  31. or a bug in /usr/ccs/bin/as)
  32.  
  33. I proceeded to build gcc 2.3.2 with cygnus-2.0.2 by compiling
  34. without -g. (I.e., make CFLAGS= or CFLAGS=-O)
  35.  
  36. The build completed without any further problems.
  37.  
  38. Casper
  39.