This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
gcc 3.1, 3.2 on linux: Missing libgcc_s.a ?
- From: "Wirawan Purwanto" <wirawan0 at softhome dot net>
- To: <gcc at gcc dot gnu dot org>
- Date: Fri, 13 Sep 2002 14:42:34 -0400
- Subject: gcc 3.1, 3.2 on linux: Missing libgcc_s.a ?
I just finished compiling and installing GCC (release) version 3.2 on my
linux machine (Redhat 7.3 original release, with glibc version 2.2.5-34)
[CPU = AMD Athlon XP 1500+].
It turns out that file libgcc_s.a is missing (or, more correctly, misnamed
to libgcc_eh.a). The latter file was found in
$prefix/lib/gcc-lib/<architechture>/3.2/. This should be easy to fix, isn't
it? Hopefully this input helps.
Note:
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.
2. GCC (release) version 3.1.1 also has the same problem on the same
machine.
Wirawan