home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #23 / NN_1992_23.iso / spool / gnu / gcc / help / 2281 < prev    next >
Encoding:
Text File  |  1992-10-08  |  3.4 KB  |  88 lines

  1. Newsgroups: gnu.gcc.help
  2. Path: sparky!uunet!usc!cs.utexas.edu!torn!cunews!nrcnet0!bnrgate!bcars267!nbrwh75!jjhayes
  3. From: jjhayes@nbrwh75.bnr.ca (Jeff Hayes)
  4. Subject: gcc built on HP does not have -g??? plus 2 small errors
  5. Message-ID: <1992Oct8.122052.7043@bnr.ca>
  6. Sender: news@bnr.ca (usenet)
  7. Nntp-Posting-Host: nbrwh75
  8. Reply-To: jjhayes@bnr.ca
  9. Organization: Northern Telecom Public Switching, Bramalea Product Tech. S908
  10. Date: Thu, 8 Oct 1992 12:20:52 GMT
  11. Lines: 75
  12.  
  13. I am on an HP 9000-425t running HP-UX 7.05  (soon to be 8.0 when
  14. my sysadmin can manage it).
  15.  
  16. In building gcc i had no real problems, once i found the HPUX specific
  17. notes towords the end of the INSTALL doc.  But in the stage 1 and 
  18. stage 2 builds every compile gave me:
  19. cc1: warning: `g' not supported on this system
  20.  
  21. This came as a surprize to me.  I think this means that the Makefile
  22. does not believe that there is any native debugger for hpux and so
  23. it cannot support it in gcc.  
  24.  
  25. Is this true?
  26. How do i tell it that i have hp native cdb, fsdb, xdb and xdbx?
  27. Is there anything special i need to do when i rebuild?
  28. I have appended part of the build log at the end of this posting.
  29.  
  30. ***
  31. I also saw an odd thing:
  32. cc -g -Wc,-Ns2000 -Wc,-Ne700 -Wc,-Np300 -I. -I. -I./config -c insn-output.c
  33. "insn-output.c", line 2222: warning: statement not reached
  34. "insn-output.c", line 2233: warning: statement not reached
  35. .. more lines deleted.
  36.  
  37. The INSTALL warns about statement not reached after insn-emit's build,
  38. but not this routine.  In checking the code i find a macro OUTPUT_JUMP
  39. at every line causeing this warning.  I take it this is not serious
  40. as my gcc built to stage 2 with no complaints.
  41.  
  42. And i saw 2 errors that do not appear to be serious but..
  43. I did not get anywhere trying to figure out what hard-params is
  44. trying to do for me.   Can anyone explain its use, and why these
  45. errors appeared?
  46.  
  47.         cp ./hard-params.c . > /dev/null 2>&1
  48. *** Error code 1 (ignored)
  49.  
  50.         ./hard-params -f > float.h
  51. *** Error code 1 (ignored)
  52.  
  53.  
  54. reply by posting or e-mail, i like both.
  55. ThIAd
  56. -- 
  57.  
  58. jeff hayes                      ESN 333-3894   phone (416) 452-3894
  59. jjhayes@bnr.ca                  Northern Telecom, Prod Tech, Bramalea Ont
  60.  
  61.  
  62. This is the start of the bootstrap build (stage 0w):
  63. nbrwh75:/usr/local/src/gcc-1.42
  64. >  make ALLOCA=alloca.o
  65.         cc -g -Wc,-Ns2000 -Wc,-Ne700 -Wc,-Np300 -I. -I. -I./config \
  66.           -DSTANDARD_STARTFILE_PREFIX=\"/usr/local/lib/\" \
  67.           -DSTANDARD_EXEC_PREFIX=\"/usr/local/lib/gcc-\" -c \
  68.           `echo ./gcc.c | sed 's,^\./,,'`
  69.         cc -c -g -Wc,-Ns2000 -Wc,-Ne700 -Wc,-Np300  -I. -I. -I./config version.c
  70.         cc -c -g -Wc,-Ns2000 -Wc,-Ne700 -Wc,-Np300  -I. -I. -I./config obstack.c
  71.         cc -g -Wc,-Ns2000 -Wc,-Ne700 -Wc,-Np300 -S `echo ./alloca.c | sed 's,^\./,,'`
  72.         as alloca.s -o alloca.o
  73.         cc -g -Wc,-Ns2000 -Wc,-Ne700 -Wc,-Np300  -o gccnew gcc.o version.o obstack.o alloca.o
  74.         mv gccnew gcc
  75.  
  76. and then i was off on stage 1:
  77.  
  78. nbrwh75:/usr/local/src/gcc-1.42
  79. >  make CC=stage1/gcc CFLAGS="-g -O -Bstage1/ -I../binutils/hp-include"
  80.         stage1/gcc -g -O -Bstage1/ -I../binutils/hp-include -I. -I. -I./config \
  81.           -DSTANDARD_STARTFILE_PREFIX=\"/usr/local/lib/\" \
  82.           -DSTANDARD_EXEC_PREFIX=\"/usr/local/lib/gcc-\" -c \
  83.           `echo ./gcc.c | sed 's,^\./,,'`
  84. cc1: warning: `g' not supported on this system
  85.         stage1/gcc -c -g -O -Bstage1/ -I../binutils/hp-include  -I. -I. -I./config version.c
  86. cc1: warning: `g' not supported on this system
  87.  
  88.