This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc and g++ on HP-UX 10.20
- To: gcc at gcc dot gnu dot org
- Subject: Re: gcc and g++ on HP-UX 10.20
- From: Priya Narasimhan <priya at lambda dot ece dot ucsb dot edu>
- Date: Tue, 9 May 2000 21:42:28 -0700 (PDT)
- Reply-To: Priya Narasimhan <priya at lambda dot ece dot ucsb dot edu>
> On May 9, 2000, Priya Narasimhan <priya@lambda.ece.ucsb.edu> wrote:
>
> > because -g is disabled, I am unable to use dbx or gdb.
> > Any ideas why this happens?
>
> > cc1plus: warning: -g is only supported when using GAS on this processor,
>
> On May 9, 2000, Alexandre Oliva wrote:
>
> How could the error message be clearer? You need GAS (the GNU
> assembler) in order for GCC to emit debugging information.
>
I am sorry -- I should have been clearer in my posting.
I understood the error message -- what I didn't quite
get was how to get gcc to use GAS. On the HP-UX 10.20
system I am working on, GAS is installed and very much
present on my $PATH. Is there some flag, env var or
option that ensures that compilation with gcc and g++
will use GAS?
Sorry again for not being clearer.
-- Priya Narasimhan