Can code compiled with g++ 3.3.1 run with earlier versions ofcompiler runtime environment?

James E Wilson wilson@specifixinc.com
Mon Sep 27 22:32:00 GMT 2004


On Thu, 2004-09-23 at 05:11, Arora, Sudhanshu wrote:
>  but then the problem arises with libgcc_s.so.1. I don't have a static version of this library with me.

libgcc_s.so.1 is the shared version of the static libgcc.a library. 
There are options to control whether a static or shared libgcc is linked
in: -static-libgcc, --shared-libgcc.

However, it might be better to build a gcc configured with the
--disable-shared configure option, so that you don't have to worry about
shared library issues.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com




More information about the Gcc mailing list