This is the mail archive of the gcc-help@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]

libgcc_s


I'm trying to ship an executable on AIX that is compiled and linked g+ +. (g++ is calling AIX's ld under the covers.)

I'm trying to figure out the best way to do it -- should I link it statically or should I also ship the extra libgcc and libstdc++ libraries? In the process of weighing the pros and cons, I noticed that the executable is not using libgcc.a but libgcc_s.a.

Can someone tell me what libgcc_s.a is? How does libgcc.a differ from libgcc_s.a? I can't find a reference to it in the gcc manual.

My real question is when does g++ use one or the other? If I automate the packaging, it needs to know which one to ship.

Thank you,
Perry Smith ( pedz@easesoftware.com )
Ease Software, Inc. ( http://www.easesoftware.com )

Low cost SATA Disk Systems for IBMs p5, pSeries, and RS/6000 AIX systems



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