Alternatives to gcc (was Re: gcc 4.3: when will it become standardcompiler?)

Tim Kientzle kientzle at freebsd.org
Sat Jan 17 01:21:01 PST 2009


Sean C. Farley wrote:
> 
> For an archiver, what about tar (bsdtar)?  tar tf /usr/lib/libc.a works 
> for me.  :)  Actually, there is some development[1] to replace those 
> utilities with BSD-licensed versions.  ar has already been replaced in 
> HEAD.

Kai Wang added "ar" format to libarchive, so tar and cpio
in -CURRENT can both read and write ar archives.
But that doesn't mean that tar can serve as a
replacement for ar.  The "ar" utility does have a
few tricks.  ;-)

Kai and I did at one time discuss the feasability
of using tar or cpio format as a library archive
format.  It does have a certain appeal (the "ar"
format is fairly gruesome, especially the
Gnu/SysV long filename extension) but is probably
not worth the effort.

Tim


More information about the freebsd-current mailing list