-findirect-dispatch: broken on Linux, working on Mingw?

Andrew Haley aph@redhat.com
Thu Mar 8 20:06:00 GMT 2007


Florian Weimer writes:
 > * Andrew Haley:
 > 
 > > Andrew Haley writes:
 > >  > 
 > >  > However, if you really do want to do this weird thing, this link line
 > >  > in install/lib/libgcj.spec might work after a fashion:
 > >  > 
 > >  > *lib: %{static-libgcj:-non_shared -lgcj -call_shared;:%{s-bc-abi:-lgcj_bc;:-lgcj}} -lm   -lpthread -lrt    -ldl %(libgcc) %(liborig)
 > >
 > > Did that work?
 > 
 > I would expect that you need to specify "--whole-archive -lgcj
 > --no-whole-archive" somewhere.

I guess you're going to tell us why you would expect that.  I mean, it
might work, but the executable would be absurdly large.

Andrew.



More information about the Java mailing list