This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: libgcj_bc.so not embedded
On 4/7/07, J.C. Pizarro <jcpiza@gmail.com> wrote:
Sure? Why GCJ depends on C++ of GCC?
Because part of the libgcj library is written in C++ :). GCJ's
runtime library is written in Java, C, and C++ and C++ code can call
Java code via the CNI interface which was created even before JNI was
designed :). GCJ does support JNI now too but GCJ was the first Java
implementation to support native libraries even before Sun did.
Someone needs to read code more.
-- Pinski