i think Peter's point is:

if mode(archive) == 444
  if target == Darwin
Darwin ranlib will upgrade it to 644 anyway and succeed, and/or use a temp file and rename(2)
  else
    ranlib isn't really needed anyway, so ignore the error
  fi
else
  ranlib should be used, and should succeed, but still, ignore errors
fi


On Sep 1, 2005, at 1:15 PM, Andrew Pinski wrote:


On Sep 1, 2005, at 4:10 PM, Joe Buck wrote:

On Thu, Sep 01, 2005 at 12:16:23PM +0900, Peter O'Gorman wrote:
I would suggest continuing to run ranlib after install, but not failing if
it does not work.

Won't you then get warning messages on Darwin every time someone tries to use the installed library (since the symbol table timestamp will be
older than the file timestamp)?

It will not be a warning on darwin, it will be straight error as
Darwin's linker does not like the timestamp to be out of date at
all.

-- pinski

Reply via email to