------- Comment #4 from liulk at types dot bu dot edu  2007-01-30 02:11 -------
(In reply to comment #3)
> I always build GCC with a separate objdir, and I don't see this problem.

Make sure you're building java, so --enable-languages contains at least the
'java' target or 'all'. In the case of 'all', the only way to be sure is of
course to specify 'java' explicitly. You should check that configure gives you
the following line, and 'java' is one of the languages to be built:

The following languages will be built: c,c++,fortran,java,objc

Obviously, language targets such as c, c++, fortran, ada, obj-c, etc. don't
make use of libjava. If you're not building java, then libjava is not going to
be built, and the build process would succeed fine. I can build all the other
language targets just fine. I just can't build java because of libjava build
error.

> Furthermore my 4.1 tree has a copy of config.{guess,sub} in libjava/libltdl.
> I believe these are used by the libltdl build.

I see these files too, but they're not being referenced by libjava/Makefile.am,
which means the build system doesn't think libltdl exists. Furthermore,
libjava/libltdl/config.sub assumes it will find ../../config.sub, which is not
the case when srcdir != objdir.


-- 


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

Reply via email to