Running ranlib after installation - okay or not?

Andrew Pinski pinskia@physics.uc.edu
Wed Aug 31 19:28:00 GMT 2005


On Aug 31, 2005, at 2:02 PM, Ian Lance Taylor wrote:

> Gerald Pfeifer <gerald@pfeifer.com> writes:
>
>> Does anyone disagree (and if not, have suggestions how to address this
>> in GCC)?
>
> ranlib is basically never required on a modern system.  It is really
> only needed if the archive is built with the S option to ar.
>
> So I think the best way to address this is to not run ranlib.

If you consider Darwin "modern", then that statement is not correct
as moving/copying an archive on darwin, requires ranlib to be run.

-- Pinski



More information about the Gcc mailing list