This is the mail archive of the java-discuss@sourceware.cygnus.com 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]

Re: NewBie: ld linker problem


Bryce McKinlay wrote:
> Tom Tromey wrote:
> > Don't do that.  Use gcj to link.  gcj links in all the libraries you
> > need, behind your back.
> 
> I think the question indio was trying to ask here was really:
> 
> "How do I statically link libgcj (and the libgcjgc, etc) into my application?"
> 
> gcj will statically link if you actually delete the .so files from your library
> path. But there must be a better way than that. If someone wants to tell me the
> answer or add it to the FAQ I'd be very happy too.

what about "gcj -static"?

--
Jeff Sturm
jsturm@sigma6.com

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