🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #42478

Re: hp-ux -g support ?

#42478
From: R.A.L Williams
Date: Tue, 05 Dec 1995 00:00
51 lines
2072 bytes
In article <JS9SF.95Dec4135619@fnpx19.fnal.gov> js9sf@fnpx19.fnal.gov (Jiangeng Sun) writes:

> From: js9sf@fnpx19.fnal.gov (Jiangeng Sun)
> Newsgroups: gnu.gcc.help
> Date: 04 Dec 1995 19:56:18 GMT
> Organization: FERMILAB, Batavia, IL
> 
> 
> 
> I just installed gcc-2.7.2 on our HP9000 runing 9.01. Everything seems
> fine except that  it does not support the debugging:
> 
> $ gcc -g -c foo.c
> cc1: warning: `-g' not supported by this configuration of GCC
> $gcc -v
> Reading specs from /usr/local/gnu/lib/gcc-lib/hppa1.1-hp-hpux9.01/2.7.2/specs
> gcc version 2.7.2
> 
> what is wrong?  I tried --with-stabs when doing the configuration with no
> avail.
> 
> any help is appreciated.

I got this to work under version ( of HP-UX by following the well concealed
notes in  INSTALL about building gas and using --with-gas when configuring.

This works OK for version hp-ux 9.0x

IT DOESN'T WORK FOR HP-UX 10.01 !! (sorry about the shouting but when
you've rebuilt gcc as often as I have in the last few days you get a 
bit frustrated!).

I've used binutils-2.5.2 and 2.6. I've used gcc-2.7.0 and 2.7.2.

The configuration in the gcc directory was done with:

     ./configure --with-gas

*after* moving as (the GNU one) into both the build directory and the final
destination directory (ie. .../gcc-lib/hp.../2.7.2/)

So, what do I do next. I can't use the GNU ld because that won't build.

Anyone got any ideas?

Bill
-- 
Bill Williams                     |GEC-Marconi does not necessarily
GEC-Marconi Research Centre       |endorse my opinions!

bill.williams@gmrc.gecm.com
Technical Details
Message-ID: <BILL.95Dec5095049@valiant.gmrc.gecm.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <JS9SF.95Dec4135619@fnpx19.fnal.gov>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,18d466700846f62b
X-Google-Attributes: gid11318c,public
From: bill@valiant.gmrc.gecm.com (R.A.L Williams)
Subject: Re: hp-ux  -g support ?
Date: 1995/12/05
Message-ID: <BILL.95Dec5095049@valiant.gmrc.gecm.com>
X-Deja-AN: 121283047
distribution: world
references: <JS9SF.95Dec4135619@fnpx19.fnal.gov>
organization: GEC-Marconi Research Centre
newsgroups: gnu.gcc.help