J. David Bryan wrote:
However, I just found that it also recognizes the variables COMPILER_PATH (for cpp and cc1) and LIBRARY_PATH (for libgcc.a), so if both are set to the GCC lib directory, it should work (I hope).
I believe it will, but doesn't this workaround simply fix the existing "improper" implementation of GCC/GPC_EXEC_PREFIX? (I put "improper" in quotes because there may be a good rationale for the existing method that I do not immediately see.)
The proper things to do, as far the "GCC philosophy" is concerned, is to install the matching GCC version. Period.
We don't do this with pascal.install for reasons explained in another mail, but you're free to do a full install, including C compiler (shouldn't be a problem if two C compiler versions are installed in parallel) or whatever you like.
All of copying/linking the missing files, setting any environment variables, or using special options is "fixing a broken installation".
Frank