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?
Florian Weimer writes:
> * Andrew Haley:
>
> > > 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.
>
> I assumed that was the goal to some extent. 8-/
I was wondering about that too.
> Anyway, --start-group ... --end-group might help to solve the
> immediate linking problem as well (listing the archives multiple
> times does not work for longer cycles).
MMM, but as far as I can see this particular problem doesn't really
have to do with linking order, but a missing library.
Andrew.