Path: chuka.playstation.co.uk!news From: James Tait Newsgroups: scee.yaroze.programming.gnu_compiler Subject: Re: That dreaded Linux query again.... Date: Wed, 30 Sep 1998 02:58:35 +0100 Organization: Wyrd Dreams - Internet Realities Lines: 27 Message-ID: <3611904B.A1B031AF@wyrddreams.demon.co.uk> References: <360AF965.4D35F33B@wyrddreams.demon.co.uk> <360C1CD7.133D3870@wyrddreams.demon.co.uk> NNTP-Posting-Host: wyrddreams.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.04 [en] (X11; I; Linux 2.0.27 i586) Me again. *8O) Toby Sargeant wrote: > I *think* the reason that james' compiler wasn't working (I think we worked > it out via email) is that if you don't explicitly specify the exec-prefix > and prefix when compiling gcc, or these aren't the same as the ones you > used when you compiled binutils, then the gcc configuration will find the > normal as|ld etc first. What it actually looks for is > /prefix/target/bin/whatever, followed by /prefix/bin/whatever, and then > it probably looks in standard locations. I figured out how I got it to call the right versions on as, ld, et al. Looking through my command history (yes, I actually went to the trouble of tracing what I did to make it work) I found a command 'pico gcc.c' so I checked the timestamp of gcc.c against the other files in the directory and it is newer. I assume I must have changed the command references by hand, though I don't specifically remember it - I've had some very late (and sleepless, yes) nights sorting this lot out and after a while one piece of GNU code begins to look very much like the rest.... Anyway, I still have the problem with the floating point stuff, which is slightly annoying and a little odd as it works fine in the DOS version. But I'm off and running again now and I can generate my code from Linux which is what I have been trying to achieve. So many thanks to Toby and Toby for both their help and hopefully I'll be posting enquiries of a more 'game-coding' nature soon. *8OP