This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc 3.1, 3.2 on linux: Missing libgcc_s.a ?


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]