
9 Oct
2006
9 Oct
'06
5:57 a.m.
Duncan Coutts wrote:
Note that it's not the building the .a file that takes ages, it's re-generating the index. I have a 100 line Haskell 'ar' prog that builds libHSbase.a in no time at all, but you still have to call ranlib to create the symbol index.
http://haskell.org/~duncan/Ar.hs -- for reading .a files http://haskell.org/~duncan/Ar2.hs -- for creating .a files ... Hmm, maybe I should add that ar code into Cabal...
Sounds like a good idea to me, and will help the GHC build once we start using Cabal. Cheers, Simon