This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: 3.3 configure static
- From: Jeff Sturm <jsturm at one-point dot com>
- To: Erik Poupaert <erik dot poupaert at skynet dot be>
- Cc: Andrew Haley <aph at redhat dot com>, <gnustuff at thisiscool dot com>, <java at gcc dot gnu dot org>
- Date: Wed, 9 Jul 2003 13:15:28 -0400 (EDT)
- Subject: Re: 3.3 configure static
On Wed, 9 Jul 2003, Erik Poupaert wrote:
> There problems occur when i try to link statically against libgcc as well.
But you didn't build with --disable-shared, did you?
It is only safe to static link libgcc if you are certain there will be
only one copy throughout your application. That means if you link it into
your main executable, you cannot link to any DSO that needs libgcc. But a
static linked libgcc is possible, and is what the Windows builds currently
do.
Jeff