This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 3.1, 3.2 on linux: Missing libgcc_s.a ?
- From: Richard Henderson <rth at redhat dot com>
- To: Wirawan Purwanto <wirawan0 at softhome dot net>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 13 Sep 2002 17:21:59 -0700
- Subject: Re: gcc 3.1, 3.2 on linux: Missing libgcc_s.a ?
- References: <006401c25b55$53634e40$f603ef80@physics.wm.edu>
On Fri, Sep 13, 2002 at 02:42:34PM -0400, Wirawan Purwanto wrote:
> It turns out that file libgcc_s.a is missing (or, more correctly, misnamed
> to libgcc_eh.a).
Nope. There is no libgcc_s.a file, and libgcc_eh.a is correct.
> 1. I discovered this error by trying to compile a C++ program (using g++)
> and statically link it (don't ask me why I want to do static link)
> using -Wl,-non_shared g++ options.
Use -static.
r~