This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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]

Re: libgcj_bc.so not embedded


When using "-static-libgcj", I'm getting this error:
/usr/bin/ld: cannot find -lgcj_bc

On 4/7/07, J.C. Pizarro <jcpiza@gmail.com> wrote:
2007/4/7, J.C. Pizarro <jcpiza@gmail.com>:
> 2007/4/7, David Daney <ddaney@avtrex.com>:
> > J.C. Pizarro wrote:
> > >
> > > Remember, Java is generated to C++ with gcj and compiled with g++.
> > That is incorrect and always has been.
> >
> > gcj directly generates assembly code for the target processor, just like
> > all the other GCC language frontends.
> >
> > David Daney
> >
>
> Sure? Why GCJ depends on C++ of GCC?
>

The proof,

./configure ... --enable-languages=c,java doesn't work

./configure ... --enable-languages=c,c++,java works.

The tools gcjh and g++ are used.



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