[patch] releases.html

Phil Edwards pedwards@disaster.jaj.com
Wed Feb 14 13:42:00 GMT 2001


On Wed, Feb 14, 2001 at 12:36:28PM -0800, Zack Weinberg wrote:
> 
> Random thought: what if we made
> 
> 	gcc -staticlib -o libfoo.a a.o b.o c.o ...
> 
> run ar and possibly ranlib as appropriate to the target?

We'd be following the example of a number of other vendors.  Most of their
compilers, though, only do this for C++, not C.  The added magic is not the
automatic calling of ranlib, but the automatic instantitation of whatever
templates are necessary to achieve closure.  For C, it'd just be syntactic
convenience (hey, I'm up for that).


Phil

-- 
pedwards at disaster dot jaj dot com  |  pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools.  Fools are protected by more capable fools.



More information about the Gcc-patches mailing list