Article View: gnu.gcc.help
Article #50014need a little guidence wrt gas, gcc, and gdb
From: Edward Hartnett
Date: Fri, 26 Nov 1993 19:56
Date: Fri, 26 Nov 1993 19:56
21 lines
1927 bytes
1927 bytes
Howdy all. I have been programming in C and FORTRAN many years and never used a debugger. Just a weird quirk, because I've used it with great appreciation programming Clipper on a PC for a year or so. Anyway, I've decided to take the plunge and use gdb on my C programs. Problem is, I'm on a HP 730, running HPUX 9.01. I've got gcc-2.5.2 but when I try to compile anything with the -g option, I get a message that the -g option is not supported by gcc. Later I learned (somewhere on the net) that HP's mumble mumble format was until recently, proprietary, and therefore not supported by gcc (sorry, I forgot the exact details). But I also heard this problem would go away if I used GNU's assembler, gas. Then (I presume) I would rebuild gcc using gas and the -g option would work. But I also seem to remember there was something else I need to install. (I'm hazy on so many details because I read this information before it occured to me to try and get gdb working on my C programs). If anyone out there could offer a few lines of guidence, it would be greatly appreciated. Thanks.
Technical Details
Message-ID:
<EJH.93Nov26145601@larry.gsfc.nasa.gov>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!library.ucla.edu!agate!ames!skates.gsfc.nasa.gov!gsfc.nasa.gov!ejhShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,5d0313558199fe34,start X-Google-Attributes: gid11318c,public X-Google-Thread: fcda7,5d0313558199fe34,start X-Google-Attributes: gidfcda7,public X-Google-ArrivalTime: 1993-11-26 12:02:45 PST Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!library.ucla.edu!agate!ames!skates.gsfc.nasa.gov!gsfc.nasa.gov!ejh From: ejh@larry.gsfc.nasa.gov (Edward Hartnett) Newsgroups: gnu.gcc.help,comp.sys.hp.hpux Subject: need a little guidence wrt gas, gcc, and gdb Date: 26 Nov 1993 19:56:01 GMT Organization: Goddard Space Flight Center Lines: 22 Message-ID: <EJH.93Nov26145601@larry.gsfc.nasa.gov> NNTP-Posting-Host: larry.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit