This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc and g++ on HP-UX 10.20




> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]