This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ld issues


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]