This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: java/2068: java --> c++
- To: nobody at gcc dot gnu dot org
- Subject: Re: java/2068: java --> c++
- From: Manfred Hollstein <manfredh at redhat dot com>
- Date: 23 Feb 2001 13:56:01 -0000
- Cc: gcc-prs at gcc dot gnu dot org,
- Reply-To: Manfred Hollstein <manfredh at redhat dot com>
The following reply was made to PR java/2068; it has been noted by GNATS.
From: Manfred Hollstein <manfredh@redhat.com>
To: ask@wisdom.weizmann.ac.il
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: java/2068: java --> c++
Date: Fri, 23 Feb 2001 14:52:22 +0100 (CET)
Hi Alex,
This is pretty easy to resolve... In order to build libjava you need to
have a working C++ compiler in your build tree. You should use this
when configure'ing your tree:
--enable-languages='c++,java'
Perhaps we may fix the configury to add this implicitly.
HTH, cheers.
l8er
manfred
On , 23 February 2001, 13:38:19 -0000, ask@wisdom.weizmann.ac.il wrote:
>
> >Number: 2068
> >Category: java
> >Synopsis: java --> c++
> >Confidential: no
> >Severity: non-critical
> >Priority: medium
> >Responsible: unassigned
> >State: open
> >Class: doc-bug
> >Submitter-Id: net
> >Arrival-Date: Fri Feb 23 05:46:04 PST 2001
> >Closed-Date:
> >Last-Modified:
> >Originator: Alexander Klimov
> >Release: 3.1 20010223
> >Organization:
> >Environment:
> SunOS iridium 5.6 Generic_105181-20 sun4u sparc SUNW,Ultra-5_10
> >Description:
> I did:
> ../gcc/configure --prefix=${PREFIX} --with-cpu=ultrasparc --enable-languages='java' && \
> make CFLAGS='-O2' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap
>
> and get (63 minutes of compilation):
> ./libtool: /export/home/ask/build/gcc-build/gcc/g++: not found
> make[3]: *** [prims.lo] Error 1
> make[3]: Leaving directory `/export/home/ask/build/gcc-build/sparc-sun-solaris2.6/libjava'
>
> >From the other hand http://gcc.gnu.org/install/configure.html
> said that any configuration of languages except CHILL could be used
> >How-To-Repeat:
>
> >Fix:
> Change docs
> >Release-Note:
> >Audit-Trail:
> >Unformatted: