[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libtool dropping -static-libgcc from LDFLAGS
From: |
Ralf Wildenhues |
Subject: |
Re: libtool dropping -static-libgcc from LDFLAGS |
Date: |
Tue, 10 Feb 2009 21:45:13 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Hi Charles,
* address@hidden wrote on Tue, Feb 10, 2009 at 04:06:25PM CET:
> This was reported several years ago
> http://lists.gnu.org/archive/html/bug-libtool/2005-10/msg00004.html
> but AFAICT was never resolved.
>
> Yesterday, we ran into the problem again over on the cygwin list:
> http://cygwin.com/ml/cygwin/2009-02/msg00202.html
>
> I suggested that Corinna attempt Ralf's workaround from 2005-Oct
> (namely, configure using CC='gcc -static-libgcc'), which worked. Ralf,
> any ETA on that patch from 2005? <g>
Which patch? I see no reference to a patch in those messages.
;-)
> Also, I imagine that mingw would need a similar fix so that
> '-shared-libgcc' is not stripped from LDFLAGS. And, in the name of
> consistency, probably all the other -static-lib* and -shared-lib*
> switches...
I don't see where this has anything particular to do with either Cygwin
nor MinGW.
A fix for this should probably allow -shared-* and -static-* through,
but also make sure that picked-up dependencies from deplibs and from
postdeps don't contain those which aren't desired. Ideally with a
testsuite test.
Thanks,
Ralf
--
I've lost an unknown number of emails due to some server trouble.
If you've written to me during the last week, consider resending.