This is the mail archive of the libstdc++@sources.redhat.com mailing list for the libstdc++ project.


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

Re: Why -prefer-pic?


Alexandre Oliva wrote:
> So that a shared libstdc++ built out of libsupc++ gets PIC code.
> Ditto for any other shared libraries linked with libsupc++ but not
> with libstdc++.  That's the same reason why libgcc is PIC by default.

I see now.

> If DJGPP don't support PIC at all, we have to adjust libtool so that
> it learns about this fact.  

OK, I'll submit a patch for libtool which gets rid of '-fPIC -DPIC' for DJGPP.

Laurynas

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