compiling

Matthew Donadio m.p.donadio@ieee.org
Tue, 04 Mar 2003 21:26:27 -0500


"Mike T. Machenry" wrote:
> I am having a problem compiling my code. Usually I run it with
> ghci -package data -fglashow-exts Main.hs
> 
> Main declares a main function and imports all my other files.
> when I try to ghc it to compile I get that it can't find an interface file
> for each file in my project. How do I compile something? Also it can't
> find an interface for Data. How do I make an interface file for that?

Read the ghc docs, but try

	ghc -o Main --make -package data -fglashow-exts Main.hs

-- 
Matthew Donadio (m.p.donadio@ieee.org)