This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]