This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
ld issues
- From: Steve Pribyl <steve at netfuel dot com>
- To: gcj mail list <java at gcc dot gnu dot org>
- Date: Wed, 09 Jul 2003 12:11:59 -0500
- Subject: ld issues
- Organization: Netfuel
What s the difference between
$ gcj Hello.java -o Hello.o -g -fPIC -c
$ ld -shared -o libHello.so Hello.o
and
$ gcj ${GCJFLAGS} v1/Hello.java -o v1/libHello.so -shared -g -fPIC
The first one appears to not load the classes correctly when loaded by gcj.
Thanks
--
Steve Pribyl
Steve AT NetFuel dot com
Computer Infrastructure Practitioner