Re: Duplicate Symbol

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Vardhan, Sundara (GE Infra, Energy)" <sundara.vardhan@xxxxxx> writes:

> Compiling using GCC 4.4.3 and linking using AIX ld, I get some duplicate
> symbol warnings. Upon debugging further I see that they are defined in
> libgcc_s.a and also in libgcc.a. 
> Should we have both of these library directories?

It is normal to have both, yes.  The situation on AIX is uncommon.
Normally linking against -lgcc_s and -lgcc is fine, and is done
because there are a few objects which are put in -lgcc but not in
-lgcc_s.  I'm not sure how this is supposed to work on AIX.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux