This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Problem compiling DLL
- From: Andrew Haley <aph-gcc at littlepinkcloud dot COM>
- To: Marco Trudel <mtrudel at gmx dot ch>
- Cc: Gabriel Bianco <gabriel dot bianco at pixeon dot com dot br>, Daniel Adolfsson <daniel dot adolfsson at gmail dot com>, java at gcc dot gnu dot org
- Date: Tue, 4 Sep 2007 18:27:17 +0100
- Subject: Re: Problem compiling DLL
- References: <d4bbdd470708230608i7710d821yddd5a3c4ccad1ca4@mail.gmail.com> <m3r6lesakd.fsf@fleche.redhat.com> <46DD9183.7090808@pixeon.com.br> <46DD94A5.2010400@gmx.ch>
Marco Trudel writes:
> 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...
I thought that patch was broken. I can't remember the exact details,
but my understanding was that it was incompatible with something else.
Andrew.