This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/29878] Clarify gcc jc1 cc1 cc1plus installation problem No such file or directory error
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Nov 2006 18:20:29 -0000
- Subject: [Bug other/29878] Clarify gcc jc1 cc1 cc1plus installation problem No such file or directory error
- References: <bug-29878-13581@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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