package lang

Ketil Malde ketil+haskell at
Sat Jul 8 05:00:56 EDT 2006

Doaitse Swierstra <doaitse at> writes:

> but when i try to compile lhs2TeX I get the following error message:
> /usr/local/bin/ghc -O -package lang --make -o lhs2TeX Main.lhs [..]

Did you try without the '-package lang'?  I think 'ghc --make' is
rather effective at automatically determining which packages to
include.  (Also, I'm not sure why you include all the source files
together with --make, since --make tracks down dependent modules and
compile them automatically.) 

If I haven't seen further, it is by standing in the footprints of giants

More information about the Glasgow-haskell-users mailing list