delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/17/21:00:13

Date: Mon, 18 Aug 1997 08:55:54 +0800 (GMT)
From: Orlando Andico <orly AT gibson DOT eee DOT upd DOT edu DOT ph>
To: Peter Berdeklis <peter AT atmosp DOT physics DOT utoronto DOT ca>
cc: djgpp AT delorie DOT com
Subject: Re: Precompiled Headers?
In-Reply-To: <Pine.SGI.3.91.970815105627.27969A-100000@atmosp.physics.utoronto.ca>
Message-ID: <Pine.SGI.3.93.970818085207.1672D-100000@gibson>
MIME-Version: 1.0

On Fri, 15 Aug 1997, Peter Berdeklis wrote:

..
> I don't think I explained this right, because I don't really understand 
> it.  When I pass the -g option to gcc on the SGI it tells me something 
> like '-g not available in this configuration'.  I didn't realize that not 
> having -g was a configurable option.  Anyway, I said debugging libraries 
> because I didn't know how else to explain it.  Either way, I can't debug 
> on the SGI, so I have to do it on the PC.

Can't help with your other troubles, but I know how to fix the '-g'
problem on SGI.

Your problem is that you used GNU ld when building GCC. On SGI, when you
build GCC (with the extra-cost IDO, presumably, since there is no way to
bootstrap GCC on IRIX unless you have the IDO), you ALSO HAVE TO USE GNU
ld. The problem is that GNU binutils go into /usr/local/bin so the IDO ld
gets seen first. When IDO ld is used, yes, GCC will not support -g option
(so why not use the shipped C compiler?) if you think using GCC is worth
the trouble (I did) you'll have to rebuild GCC and set it up so that GNU
ld gets seen before the shipped one. 

Oh BTW. This applies to IRIX5/6. If you're using IRIX4, ignore everything
I've just said  :)

-------------------------------------------------------------------
Orlando Alcantara Andico
WWW:   http://www.dilnet.upd.edu.ph/~orly/   Email: orly AT mozcom DOT com
ICBM:  14 deg. 30' N, 120 deg. 59' E         POTS:  (+632) 932-2385
"violet serene like none I have seen apart from dreams, that escape
 me, there was no girl as warm as you."


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019