This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: -findirect-dispatch: broken on Linux, working on Mingw?
* 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.