From: tringali@news.ed.ray.com (Scott Tringali)
Subject: Re: Compressing archives...
Date: 1996/01/05 [thread overview]
Message-ID: <4cj48m$ddh@news.res.ray.com> (raw)
In-Reply-To: 4cgl9r$s7e@news.res.ray.com
I received a solution via mail, for all those interested, here it is:
> This being the case, the user will
> want to grab this patch kit from the CSC: # OSF350-049. This fixes
> several problems in ar related to compressed objects as well as similar
> bugs in nm, odump and libmld.a.
>
> With respect to the problem in general, there's two approaches (assuming
> they have the fixed ar):
>
> 1) the user can compile all the .o's with -compress and just ar them into
> an archive. (ie: cc -c -compress *.c ; ar cr mylib.a *.o)
>
> 2) the user can compile all the .o's normally and use the 'Z' option to
> ar to compress them on the fly as they are added to the archive. (ie:
> cc -c *.c ; ar crZ mylib.a *.o)
>
> Lastly, if the user doesn't want to take the patch kit, they can also use
> objZ directly on the .o's after using the old ar. (ie: cc -c *.c ;
> ar crZ mylib.a *.o ; objZ *.o)
>
> Hope this helps. I don't travel the news groups regularly, so please feel
> free to post this yourself.
--
Scott J. Tringali, tringali@ultranet.com
Raytheon Electronic Systems, International Air Traffic Control
prev parent reply other threads:[~1996-01-05 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-01-04 5:00 Compressing archives Scott Tringali
1996-01-05 5:00 ` Scott Tringali [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox