This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

GCC_EXEC_PREFIX vs jc1


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 ]

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]