Making shared objects with GCJ

Sal gcj@svf.dreamhost.com
Thu Jun 3 22:38:00 GMT 2004


Thanks for the help... this answers my question.
I am wondering, if you (or anyone) knows of anyone that has successfully
built a windows .dll from GCJ yet? I am wondering if it has been done
before, as I am thinking about setting up an environment so that I can do
this.
If it takes making a linux/windows cross-compiling version of GCJ I am
willing to, I'm just wondering if it is even possible before I dive into
it, or if theres any info out there to get me started.
Thanks in advance,
- Sal
> Sal wrote:
>>>I'm trying to build a shared object (.so, .dll) with GCJ. The purpose is
>>to make libraries for projects to use from any language. I understand
>>that making .dlls on windows may not work yet, so .so will be fine for me
>>for the interim (I may try to cross compile later on).
>> You would do this by writing a connecting layer in C++ or C which
> exposes your library API as extern "C" functions. These glue functions
> would then call into your java code using CNI or JNI and the invocation
> APIs.
>> Regards
>> Bryce



More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /