------- Comment #4 from jg at jguk dot org 2006-12-01 00:00 ------- Hi, Thanks for your reply.
> We look into acouple of directories to find jc1, so it is not hardcoded > directly. The --prefix directory is hardcoded into gcc but that is just one > directory where we look into, we also search the PATH if we cannot find it in > that directory. We also redirect the hardcoded path to be a relative one if > the installation has moved. Ok, good points. I was a little surprised that GCC checks the PATH as well, if the wrong jc1 got called that might introduce a problem I would expect.. (but I'm sure there is a reason). How about changing it just to give an indication of what the jc1 file is and where was searched? gcc: installation problem, cannot exec GNU Java Compiler jc1 in '/usr/lib/gcc/i486-linux-gnu/4.0.3/' or the PATH. * Presently it says "No such file or directory", when jc1 would definitely not be a directory. Kind regards Jon -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29878