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]

Re: compiling with shared libraries


Leaving out the -Wl,-Bsymbolic works:

$ gcj -shared -o kawa.so ./.libs/*.o
$ gcj  -o kawa-bin --main=kawa.repl kawa.so
$ LD_LIBRARY_PATH=. ./kawa-bin
#|kawa:1|#

This is gcc (GCC) 4.1.1 20061011 (Red Hat 4.1.1-30)
as installed on Fedora Core 6.
--
	--Per Bothner
per@bothner.com   http://per.bothner.com/


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