Path: chuka.playstation.co.uk!news From: Toby Hutton Newsgroups: scee.yaroze.programming.gnu_compiler Subject: Re: That dreaded Linux query again.... Date: 29 Sep 1998 11:38:58 +1000 Organization: PlayStation Net Yaroze (SCEE) Lines: 49 Sender: thutton@TECH10 Message-ID: References: <360AF965.4D35F33B@wyrddreams.demon.co.uk> <360C1CD7.133D3870@wyrddreams.demon.co.uk> NNTP-Posting-Host: 203.103.154.235 X-Newsreader: Gnus v5.3/Emacs 19.34 tjs@cs.monash.edu.au (Toby Sargeant) writes: > > On 28 Sep 1998 15:05:13 +1000, Toby Hutton wrote: > >You shouldn't have to do all the steps manually, obviously, that's > >what gcc is for. All I can suggest is removing the cross compiler > >you've installed, and re-do it *not as root* installing it into your > ^^^^^^^^^^^ > >home directory. That's what I did and I've had *no* problems. > > :-P that's what make -n is for. True, but still rootdom is a magical and powerful thing, and when stuffing around with things for the first time, as I was, I feel safer knowing I can rm -r ~/yaroze *afterwards* in case make -n slipped something by me that I missed... yeah, whatever. Toby, do you know why if I make the tools *my* psx-gcc calls psx-etc, but James does it and psx-gcc calls just etc? Did you use the patches on the Japanese site, or just make the x-compiler yourself? > the gcc install works just fine installing to wherever you want to install > it to. in fact, it's possible to produce a gcc version that will either > call the native compiler or the psx cross compiler depending on the flags > that you pass it. needless to say, it's much saner to just use an exec > prefix, but the fact is that there is that option. If you're a newbie then you can't be too careful. > > IMHO it's much better to have a world writeable partition or directory > that user binaries get installed into. That way people can share binaries > that they compile (presupposing that they understand the security risks), > and it means that you can have a relatively small partition for home > directories. How many users do you have on your home machine?!? Ha, a world writable binary directory is asking for mischief on a (real) multi-user machine, particularly if a a newbie puts it too early in their path, and I decide to write my own special version of passwd or something and put it in there. > > YMMV. > > Toby. -- Toby.