libgcj.dll on MinGW

Danny Smith dannysmith@clear.net.nz
Mon Aug 29 01:20:00 GMT 2005


> -----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
>


More information about the Java mailing list

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