This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Integrating gcj and C
- From: "Robin Garner" <robin dot garner at iname dot com>
- To: tromey at redhat dot com
- Cc: java at gcc dot gnu dot org
- Date: Sun, 06 Jul 2003 03:08:48 -0500
- Subject: Re: Integrating gcj and C
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