compiling with shared libraries

Per Bothner per@bothner.com
Tue Dec 19 21:35:00 GMT 2006


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/


More information about the Java mailing list

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