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

Florian Weimer fw@deneb.enyo.de
Thu Mar 8 20:03:00 GMT 2007


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



More information about the Java mailing list