Date: Mon, 18 Aug 1997 08:55:54 +0800 (GMT) From: Orlando Andico To: Peter Berdeklis cc: djgpp AT delorie DOT com Subject: Re: Precompiled Headers? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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."