Re: [Haskell-cafe] where does ghc specify ar options

2009-03-10 Thread Duncan Coutts
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 brea

Re: [Haskell-cafe] where does ghc specify ar options

2009-03-09 Thread Alexy Khrabrov
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 i

Re: [Haskell-cafe] where does ghc specify ar options

2009-03-09 Thread Duncan Coutts
On Sun, 2009-03-08 at 22:44 -0500, Alexy Khrabrov wrote: > When bootstrapping cabal-install 0.6.2 on Mac OSX Leopard (Intel), I > get a problem when linking: > > Linking dist/build/cabal/cabal ... > ld: in > /private/var/folders/mw/mwJSf7ErEa4w8nWyKyyqDTY/-Tmp-/zlib-0.5.0.0/dist/build/libHSzl

[Haskell-cafe] where does ghc specify ar options

2009-03-08 Thread Alexy Khrabrov
When bootstrapping cabal-install 0.6.2 on Mac OSX Leopard (Intel), I get a problem when linking: Linking dist/build/cabal/cabal ... ld: in /private/var/folders/mw/mwJSf7ErEa4w8nWyKyyqDTY/-Tmp-/zlib-0.5.0.0/dist/build/libHSzlib-0.5.0.0.a, archive has no table of contents This had happened wit