cabal: library archive index and Mac OS X?

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Mon Mar 21 05:22:13 EST 2005


Isaac Jones <ijones at syntaxpolice.org> writes:

> > The index stores a time stamp; if the .a file's modification date is
> > newer, then ld will refuse to load from it until you re-run
> > ranlib. This commonly happens when you first build your .a files and
> > then touch their modification date while installing.
> 
> Owch.  That's some odd behavior; any links to an explanation for why
> it works that way?  Does this happen on other arches?

Yes, this is exactly the way it works on Solaris as well.

Regards,
    Malcolm


More information about the Libraries mailing list