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: -findirect-dispatch: broken on Linux, working on Mingw?


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.


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