On Thu, Jul 12, 2012 at 12:33:18AM +0200, Marc Espie wrote: > On Wed, Jul 11, 2012 at 11:24:37PM +0200, Joerg Sonnenberger wrote: > > On Wed, Jul 11, 2012 at 03:13:19PM +0200, Marc Espie wrote: > > > On Wed, Jul 11, 2012 at 01:08:43PM +0200, Joerg Sonnenberger wrote: > > > > On Wed, Jul 11, 2012 at 10:57:21AM +0200, Marc Espie wrote: > > > > > 1/ Turns out GNU libtool simply *removes* stuff it doesn't understand > > > > > while > > > > > linking. > > > > > > > > I find that no more buggy than GCC passing all unknown junk to ld... > > > > > > > > Joerg > > > > > > Is that a joke ? > > > > > > 'cause I can't tell. > > > > Nope, I'm pretty serious. Sure enough, either behavior sucks... > > You should get your priorities straight ! occasionnally, gcc behavior > can be a bit annoying, but it's never ever a silent bug !
There is a difference e.g. between using -static and -Wl,-static. Depending on which combination of gcc and ld you are using, that can result in pretty obnoxious bugs too. Joerg