This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: libtool: -{shared,static}-libgcc
Charles Wilson wrote:
> Yaakov (Cygwin/X) wrote:
>> The attached patch (against the latest 2.2.7a snapshot, not taking the
>> other patch into account) should allow libtool to accept the
>> -{shared,static}-libgcc flags and just pass them on to gcc.
>
> It just can't be that simple, can it? Well, for *libgcc* I guess it can,
> because there is no libgcc.la.
Oh, I just thought of something. The user would need to ensure that
when libtool is generated (e.g. during configure), LDFLAGS includes the
intended -{shared,static}-libgcc flag. Otherwise, libtool's *_postdeps
variable will not include the "correct" list of libraries. But then,
what happens if you use a different -{static,shared}-libgcc at actual
linktime? Or if you link some targets one way, and other targets the
other way?
--
Chuck
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple