This is the mail archive of the
mailing list for the GCC project.
Re: [patch] remove libtool use from darwin
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: echristo at apple dot com (Eric Christopher)
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 29 Nov 2006 18:45:00 -0500 (EST)
- Subject: Re: [patch] remove libtool use from darwin
> So, ld is quite capable of doing the work that /usr/bin/libtool was
> doing (not gnu libtool, yes, this is confusing), and all libtool was
> doing was translating or adding some options and adding a .o file to
> the link. Not real useful for the overhead :)
> So, we use ld instead.
> This could cause some projects which used either a) options to the
> linker that didn't exist relying on libtool to translate them, or b)
> used incorrectly options like -nostdlib. To help ameliorate problem a)
> I hacked cctools a bit, but that version isn't out yet. I still think
> the patch is legitimately a good idea because it will only break
> behavior that was bad in the first place. I've been told from some of
> the fink project people that they'd fixed some of the problems that
> was being shown by b) already.
This also fixes PR 24598 as it removes the hardcoded /usr/bin/libtool.