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


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


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