Eric Kow <[email protected]> writes: > On Thu, Jan 22, 2009 at 02:11:50 +0000, Duncan Coutts wrote: >> Thu Jan 22 02:10:38 GMT 2009 Duncan Coutts <[email protected]> >> * Remove unused ghc -threaded flag in library section >> The -threaded flag applies only to linking programs. >> Despte this, ghc regects the combinaton of using the -threaded >> and profiling flags, even for building a library. New Cabal >> versions will ignore the -threaded flag when building programs >> but not for libs because that combination is senseless. So there >> is a positive benefit to dropping it from the darcs library as >> it will let people build a profiling darcs with ghc-6.8 without >> having to modify the .cabal file to drop the -threaded flag. >> >> Thu Jan 22 02:10:52 GMT 2009 Duncan Coutts <[email protected]> >> * Remove duplication in fields in the .cabal file >> Looks like it was a copy and paste error. > > Applied, thanks! (glad the cabal file is getting a bit of TLC, since > indeed the darcs library bits were done by just blindly copy and pasting > and since in principle, we should be starting to use the cabal build > method by default by the 2.3 release this July)
Currently, it seems like all the .hs files are compiled twice -- once for libHSDarcs and once for the darcs(1) binary. How much effort is involved in having Cabal build libHSDarcs, compiling all (or most of) the .hs files, then just having a "stub" darcs.hs that links against libHSDarcs? _______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
