NewBie: ld linker problem

Jeff Sturm jsturm@sigma6.com
Sat Apr 1 00:00:00 GMT 2000


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


More information about the Java mailing list