This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [java] RFC/RFA: libgcj_bc.so.1
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Bryce McKinlay <mckinlay at redhat dot com>
- Cc: Java Patches <java-patches at gcc dot gnu dot org>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Ulrich Drepper <drepper at redhat dot com>
- Date: Fri, 14 Jul 2006 04:32:02 -0400
- Subject: Re: [java] RFC/RFA: libgcj_bc.so.1
- References: <44B71F98.9020705@redhat.com> <20060714075908.GM32572@devserv.devel.redhat.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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