This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
RE: libgcj.dll on MinGW
- From: Danny Smith <dannysmith at clear dot net dot nz>
- To: tj at laurenzo dot org
- Cc: java at gcc dot gnu dot org
- Date: Mon, 29 Aug 2005 13:20:44 +1200
- Subject: RE: libgcj.dll on MinGW
> -----Original Message-----
> From: tj@laurenzo.org
> Sent: Monday, August 29, 2005 3:35 AM
>
> Danny Smith wrote:
>
> > Use dlltool --export-all --output-def,libgcj.def
> > libgcj0_convenience.a This will also mark DATA symbols
> >
> > Actually, why do you need a def file anyway?
> I was originally banging my head on the wall because it
> seemed that the -Wl,--export-all-symbols option to the linker
> was not working.
Ah, I forgot: There is a list of system libs that get excluded with ld
--export-all and libgcj.a is one of them --othewise every dll that
depended on on libgcj.a would re-export a lot of unneeded symbols.
Dlltool doesn't have libgcj.a as a default exclusion. I still think
that dlltool is a simpler option than parsing output of nm.
Danny
>
> TJ
>