J. David Bryan wrote:
On 10 Nov 2001, at 19:03, Frank Heckenbach wrote:
Is it broken if I choose to use a more reasonable directory structure under Windows (where "/usr" has no meaning) and therefore need to use environment variables?
You don't. Just set prefix in the configure correspondingly:
Hmmm...I have always considered the introduction of run-time variables, as opposed to changing values that are hard-coded in the program, to be a significant advance in the history of computation. ;-)
What do you want??? GPC has BOTH a configure prefix AND an environment variable.
If you're missing such a variable in any other program, ask THEIR respective authors.
If you want a global prefix for ALL programs, that's chroot. (Oh, Windows doesn't have it? Ask Microsoft then.)
You want a way by setting an environment variable.
Actually, the original point of argument (I think!) was that Cygwin provided a gcc-2.95.3-x, GPC provided a gpc-2.95.3, and to reconcile the difference, was it better to (a) copy all of the GCC files to the GPC directories, (b) patch and recompile GPC to accommodate the Cygwin numbering scheme, or (c) set GCC_EXEC_PREFIX to point at the GCC installation. The "correct" answer seems to be, "Whichever method you prefer!"
As I said a number of times now the most correct answer seems to be NEITHER of these, but to install cc1 and cpp0 with GPC, and the next best one to set COMPILER_PATH and LIBRARY_PATH (and YOU have confirmed that it works for you). (Though I must admit that I've suggested (a) in other threads before I found out about them recently.)
So ... what's the problem, anyway?
Too much time on our hands? ;-)
Not on mine, sorry. So I quit this thread now. If there's anything (new!) that I should read, please change the subject line.
Frank