This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
GCC_EXEC_PREFIX vs jc1
- To: gcc-bugs at gcc dot gnu dot org
- Subject: GCC_EXEC_PREFIX vs jc1
- From: Bryce McKinlay <bryce at albatross dot co dot nz>
- Date: Fri, 03 Nov 2000 22:24:13 +1300
In gcc.c, process_command() appears to attempt to set a value for the
environment variable GCC_EXEC_PREFIX based on the value of argv[0]. The
java compiler later tries to make use of this variable in order to
locate libgcj.zip in a way that works if the installed compiler is later
moved to a different location.
However, process_commands() call to make_relative_prefix() is returning
null on my Red Hat 7.0 system, resulting in this variable never getting
set, and jc1 not being able to find its standard classes.
[ bryce ]