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]
Other format: [Raw text]

[Bug other/29878] Clarify gcc jc1 cc1 cc1plus installation problem No such file or directory error



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-11-30 18:20 -------
(In reply to comment #2)
> Hi,
> 
> > What the issue is that distros split up GCC into different packages which means
> > it is an installation issue but not a GCC issue.
> 
> Good point.
> 
> I still think the text can be improved; how about like this:
> 
> gcc: installation problem, cannot exec GNU Java Compiler
> '/usr/lib/gcc/i486-linux-gnu/4.0.3/jc1':
> 
> * This includes the full-path, as this is hard coded per build of gcc as I
> understand it. i.e. "jc1" is not in the PATH.

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.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29878


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