Prof Abimbola Olowofoyeku wrote:
On 10 Nov 01, at 19:03, Frank Heckenbach wrote:
Not at all. I've installed many GPCs in my home directories on Solaris, AIX and IRIX systems lately (and probably OSF next week :-). All configured with --prefix=$HOME/usr and no further problems with the dirs.
That is exactly what I was referring to. The question was, why did the gcc people allow environment variables to change the default search paths.
I can only guess. Perhaps it was added later to make it easier to use precompiled binaries in other directories because not everyone might like to build GCC themselves.
So ... what's the problem, anyway?
IIRC, David's problem/query was: why should a gpc distro based on a certain gcc version require the same version of gcc? and, if it does require it, then that does not "seem reasonable".
As I explained, from the "GCC viewpoint" it does seem reasonable. I suppose if cc1, cpp0 had been installed with GPC by default, no-one would have noticed such a problem at all. So, should I just add additional make targets, say pascal.install-with-gcc and pascal.bindist-with-gcc so those who want can install them without overwriting the (possibly existing) gcc driver? (Of course, this would overwrite cc1, cpp0 if in fact a matching GCC version was installed before.)
Frank