This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.

Thanks,
Andrew Pinski


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