This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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

Re: Patch: java class registration via .jcr section, take 3


>>>>> "Jakub" == Jakub Jelinek <jakub@redhat.com> writes:

Jakub> Not that much, since I think whenever you're linking in some
Jakub> Java code you really want to use gcj for the final link, so
Jakub> that it will bring needed libraries etc. (that will bring in
Jakub> -lstdc++ and -lc too).

I don't really understand all the issues here.

At some point we'll support the JNI invocation API.  When we do this
it will be possible to write a simple C program which links against
the libgcj runtime and starts Java via some JNI calls.

Won't we need the magic stuff in crt0 (or whereever) for this to work?

BTW as far as I know we don't link against libstdc++.

Jakub> BTW: What's the reason why libgcj does not have DT_NEEDED
Jakub> libgcjgc.so.1 when it really needs it (and likewise for libzgcj
Jakub> (resp libz))?

I don't even understand the question.  That is probably the
reason. :-)

Tom


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