🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #453

gcc built on HP does not have -g??? plus 2 small errors

#453
From: Jeff Hayes
Date: Thu, 08 Oct 1992 12:20
74 lines
3591 bytes
I am on an HP 9000-425t running HP-UX 7.05  (soon to be 8.0 when
my sysadmin can manage it).

In building gcc i had no real problems, once i found the HPUX specific
notes towords the end of the INSTALL doc.  But in the stage 1 and 
stage 2 builds every compile gave me:
cc1: warning: `g' not supported on this system

This came as a surprize to me.  I think this means that the Makefile
does not believe that there is any native debugger for hpux and so
it cannot support it in gcc.  

Is this true?
How do i tell it that i have hp native cdb, fsdb, xdb and xdbx?
Is there anything special i need to do when i rebuild?
I have appended part of the build log at the end of this posting.

***
I also saw an odd thing:
cc -g -Wc,-Ns2000 -Wc,-Ne700 -Wc,-Np300 -I. -I. -I./config -c insn-output.c
"insn-output.c", line 2222: warning: statement not reached
"insn-output.c", line 2233: warning: statement not reached
.. more lines deleted.

The INSTALL warns about statement not reached after insn-emit's build,
but not this routine.  In checking the code i find a macro OUTPUT_JUMP
at every line causeing this warning.  I take it this is not serious
as my gcc built to stage 2 with no complaints.

And i saw 2 errors that do not appear to be serious but..
I did not get anywhere trying to figure out what hard-params is
trying to do for me.   Can anyone explain its use, and why these
errors appeared?

        cp ./hard-params.c . > /dev/null 2>&1
*** Error code 1 (ignored)

        ./hard-params -f > float.h
*** Error code 1 (ignored)


reply by posting or e-mail, i like both.
ThIAd
-- 

jeff hayes                      ESN 333-3894   phone (416) 452-3894
jjhayes@bnr.ca                  Northern Telecom, Prod Tech, Bramalea Ont


This is the start of the bootstrap build (stage 0w):
nbrwh75:/usr/local/src/gcc-1.42
>  make ALLOCA=alloca.o
        cc -g -Wc,-Ns2000 -Wc,-Ne700 -Wc,-Np300 -I. -I. -I./config \
          -DSTANDARD_STARTFILE_PREFIX=\"/usr/local/lib/\" \
          -DSTANDARD_EXEC_PREFIX=\"/usr/local/lib/gcc-\" -c \
          `echo ./gcc.c | sed 's,^\./,,'`
        cc -c -g -Wc,-Ns2000 -Wc,-Ne700 -Wc,-Np300  -I. -I. -I./config version.c
        cc -c -g -Wc,-Ns2000 -Wc,-Ne700 -Wc,-Np300  -I. -I. -I./config obstack.c
        cc -g -Wc,-Ns2000 -Wc,-Ne700 -Wc,-Np300 -S `echo ./alloca.c | sed 's,^\./,,'`
        as alloca.s -o alloca.o
        cc -g -Wc,-Ns2000 -Wc,-Ne700 -Wc,-Np300  -o gccnew gcc.o version.o obstack.o alloca.o
        mv gccnew gcc

and then i was off on stage 1:

nbrwh75:/usr/local/src/gcc-1.42
>  make CC=stage1/gcc CFLAGS="-g -O -Bstage1/ -I../binutils/hp-include"
        stage1/gcc -g -O -Bstage1/ -I../binutils/hp-include -I. -I. -I./config \
          -DSTANDARD_STARTFILE_PREFIX=\"/usr/local/lib/\" \
          -DSTANDARD_EXEC_PREFIX=\"/usr/local/lib/gcc-\" -c \
          `echo ./gcc.c | sed 's,^\./,,'`
cc1: warning: `g' not supported on this system
        stage1/gcc -c -g -O -Bstage1/ -I../binutils/hp-include  -I. -I. -I./config version.c
cc1: warning: `g' not supported on this system
Technical Details
Message-ID: <1992Oct8.122052.7043@bnr.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!cs.utexas.edu!torn!cunews!nrcnet0!bnrgate!bcars267!nbrwh75!jjhayes

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!cs.utexas.edu!torn!cunews!nrcnet0!bnrgate!bcars267!nbrwh75!jjhayes
From: jjhayes@nbrwh75.bnr.ca (Jeff Hayes)
Subject: gcc built on HP does not have -g??? plus 2 small errors
Message-ID: <1992Oct8.122052.7043@bnr.ca>
Sender: news@bnr.ca (usenet)
Nntp-Posting-Host: nbrwh75
Reply-To: jjhayes@bnr.ca
Organization: Northern Telecom Public Switching, Bramalea Product Tech. S908
Date: Thu, 8 Oct 1992 12:20:52 GMT
Lines: 75