Integrating gcj and C

Robin Garner robin.garner@iname.com
Sun Jul 6 08:08:00 GMT 2003


Thanks, Tom - I've made some progress, and my testbed works 
when linked with gcj, but I can't seem to get it linking 
with ld.
>From looking at gcj -v ..., it looks like I should be 
putting
PREFIX=/usr/lib/crt1.o /usr/lib/crti.o 
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3/crtbegin.o
SUFFIX=/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3/crtend.o 
/usr/lib/crtn.o
and linking with
 $(LD) -o testbed $(PREFIX) <my .objs> -lgcj $(SUFFIX)
But this doesn't produce a valid executable. If I just 
link with ld and no prefix/suffix, I get 
ld: warning: cannot find entry symbol _start; defaulting to 
0804929c
Any clues ?
-- 
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup
CareerBuilder.com has over 400,000 jobs. Be smarter about your job search
http://corp.mail.com/careers


More information about the Java mailing list

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