Article View: gnu.gcc.help
Article #42834Re: -g Option on IRIX 5 gcc 2.7
From: Martin Knoblauch
Date: Fri, 27 Oct 1995 00:00
Date: Fri, 27 Oct 1995 00:00
36 lines
2158 bytes
2158 bytes
In article <467acn$aq4@news.doit.wisc.edu>, schave@cae.wisc.edu (Jeff Schave) writes: |> |> Hi, |> |> A user reported the following problem to me. When compiling a program |> with gcc 2.7 running on IRIX 5.3, and using the debugging option(-g), |> the following error was displayed: |> |> hoho:/home/schave> gcc -g test.cpp |> cc1plus: warning: `-g' option not supported on this version of GCC |> |> I took a look around in the source code, and sure enough--it does'nt look |> like the debugging option does not work with this configuration. |> |> Does anyone know what the status of debugging symbols under IRIX 5 is? |> Somewhere in the INSTALL file or in one of the README.xxx files you will find that you need "gas" in order to use "-g" on IRIX and (I think) HP-UX. Get binutils-2.5.2, build "gas" and then rebuild gcc with "configure --gas" (or so). You also want "gdb", as our "dbx" and WorkShop used to dislike the gnu debugging information. Martin -- +---------------------------------+-----------------------------------+ |Martin Knoblauch | Silicon Graphics GmbH | |Application Center | Am Hochacker 3 - Technopark | |Silicon Graphics Computer Systems| D-85630 Grasbrunn-Neukeferloh, FRG| | | Phone: (+int) 89 46108-179 or -0 | | | Fax: (+int) 89 46108-190 (-222) | +---------------------------------+-----------------------------------+ |Network: <knobi@munich.sgi.com> | V-Mail: 5-8935 | M/S: IMU-315 | +---------------------------------------------------------------------+
Technical Details
Message-ID:
<gnusenet468q3m$df3@fido.asd.sgi.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<467acn$aq4@news.doit.wisc.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,3db954eae5ec9ae7 X-Google-Attributes: gid11318c,public From: knobi@munich.SGi.COM (Martin Knoblauch) Subject: Re: -g Option on IRIX 5 gcc 2.7 Date: 1995/10/27 Message-ID: <gnusenet468q3m$df3@fido.asd.sgi.com> X-Deja-AN: 118261245 distribution: gnu sender: daemon@cis.ohio-state.edu references: <467acn$aq4@news.doit.wisc.edu> organization: Silicon Graphics GmbH, Am Hochacker 3, D-85630 Grasbrunn newsgroups: gnu.gcc.help