[Haskell-cafe] where does ghc specify ar options

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Tue Mar 10 05:51:05 EDT 2009

On Mon, 2009-03-09 at 21:08 -0400, Alexy Khrabrov wrote:
> Duncan --
> On Mar 9, 2009, at 8:14 PM, Duncan Coutts wrote:
> > BTW, how did you get the package installed in that location? Did it
> > involve copying into a temp dir and copying again? I believe that on
> > OSX, copying a .a file breaks the ar index. This is because for  
> > reasons
> > best known to themselves Apple decided that the index is only valid if
> > its timestamp is the same as the last modification time of the file.
> Oh -- and that's because instead of the supplied bootstrap.sh I used  
> one off some website, and it used /tmp which somehow put stuff in  
> there and registered it there.  I then unregistered it and removed it  
> and redid the cabal-install, and it worked with my patched ar.

Ahhh. So is there anything in Cabal or the bootstrap.sh that needs to be
fixed for this problem?


More information about the Haskell-Cafe mailing list