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]

gcc and g++ on HP-UX 10.20


When I compile C files using gcc, or C++ files using g++,
on an HP-UX 10.20 system, I always see the following
warning message:

For .c files converted into .o files using gcc:

cc1: warning: -g is only supported when using GAS on this processor,
cc1: warning: -g option disabled.   

For .C files converted into .o files using g++:

cc1plus: warning: -g is only supported when using GAS on this processor,
cc1plus: warning: -g option disabled.                    

Since these are only warnings, I still get the executable
generated. However, because -g is disabled, I am unable
to use dbx or gdb.

Any ideas why this happens?

Thank you in advance.

------------------------------------------------------------------------
Priya Narasimhan, Ph.D.,                        
Post-doctoral Researcher,        Email: priya@alpha.ece.ucsb.edu   
ECE Department,                  URL  : http://alpha.ece.ucsb.edu/~priya
University of California,        Tel  : (805) 893-7788
Santa Barbara. CA 93106          Fax  : (805) 893-3262
------------------------------------------------------------------------


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