Hello,
I'd like to submit a patch to clarify the error message below, as "jc1" would
never be a directory. I'll also do the same for cc1 and cc1plus and a Fortran
equivalent if there is one.
As part of that patch I'd like to make the error message give a clearer
indication that the GNU Java Compiler might not be installed, or other backend.
So for example the error message could be changed too:
gcc: installation problem, cannot exec 'jc1': Check GNU Java Compiler 'gcj' is
installed.
Would a patch to change this be supported for review?
Kind regards
Jon
$ gcc -o hello hello.java
gcc: installation problem, cannot exec 'jc1': No such file or directory
[EMAIL PROTECTED]:~$ gcc --version
gcc (GCC) 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ uname -a
Linux now2g 2.6.15-27-k7 #1 SMP PREEMPT Sat Sep 16 02:35:20 UTC 2006 i686
GNU/Linux
I've filed this in the "other" component, as there isn't a "general" component.
--
Summary: Clarify gcc jc1 cc1 cc1plus installation problem No such
file or directory error
Product: gcc
Version: 4.0.3
Status: UNCONFIRMED
Severity: trivial
Priority: P3
Component: other
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jg at jguk dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29878