How to produce shared libraries with gcj?

Tom Tromey tromey@redhat.com
Tue Oct 21 21:56:00 GMT 2003


>>>>> "Everton" == Everton da Silva Marques <everton@lab.ipaccess.diveo.net.br> writes:

Everton> Is it possible to use gcj to generate a shared library?
Everton> $ gcj -o dist/lib/libservlet.so obj/servlet/*.o
You need -shared. And build each .o file with -fPIC.
Tom


More information about the Java mailing list

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