Integrating gcj and C

Tom Tromey tromey@redhat.com
Mon Jul 7 17:52:00 GMT 2003


>>>>> "Robin" == Robin Garner <robin.garner@iname.com> writes:

Robin> Thanks, Tom - I've made some progress, and my testbed works 
Robin> when linked with gcj, but I can't seem to get it linking 
Robin> with ld.
Robin> and linking with
Robin> $(LD) -o testbed $(PREFIX) <my .objs> -lgcj $(SUFFIX)
I'd recommend still using "gcj" (or gcc) to link. Using ld directly
is more difficult since you need to know about all the libraries,
including libc, etc. Will this not work for you? Just omit the
"--main", since you have your own main already.
Tom


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /