[java] RFC/RFA: libgcj_bc.so.1

Jakub Jelinek jakub@redhat.com
Fri Jul 14 09:56:00 GMT 2006


On Fri, Jul 14, 2006 at 03:59:08AM -0400, Jakub Jelinek wrote:
> gcc -shared -O2 -fpic -xc /dev/null -Wl,-soname,libgcj_bc.so.1 -o libgcj_bc.so.1.0.0 -lgcj

Make that
gcc -nostdlib -shared -O2 -fpic -xc /dev/null -Wl,-soname,libgcj_bc.so.1 -o libgcj_bc.so.1.0.0 -lgcj
which creates even smaller and better dummy lib (after prelinking it will
never be COWed).

	Jakub



More information about the Gcc-patches mailing list