Problem compiling DLL
Marco Trudel
mtrudel@gmx.ch
Tue Sep 4 17:23:00 GMT 2007
Gabriel Bianco wrote:
>>> I don't think compiling to .dll works with gcj.
>> Search through the archives a bit, I think this has been discussed a
>> few times in the past.
>>>> Tom
>>> I am able to compile to DLL with older builds of gcj.
>> Marco's JavaNativeCompiler 0.7 has a gcj 4.1.1 build that works:
> http://sourceforge.net/project/showfiles.php?group_id=169793&package_id=193667
>>> Mohan's 4.02 build works too:
> http://www.thisiscool.com/gcc_mingw.htm
Yeah, this is broken in newer versions. Someone - sorry I even forgot
the name - had (a year, half a year ago?) a ready patch that adds DWARF
exception handling, your requested DLL support and building GCJ as DLL
to mingw. As far as I know, he posted the patch to the gcc-patches list
and didn't really get a reaction. Therefore the patch... well... went
forgotten? It's really a shame...
Funny thing is, the work is still requested a lot. Google summer of code
2007 even had one project (I think it's dwarf support) that already
exists in the mentioned patch.
Marco
More information about the Java
mailing list