[Haskell-beginners] Re: having trouble compiling

7stud bbxx789_05ss at yahoo.com
Fri Mar 27 06:02:11 EDT 2009


7stud <bbxx789_05ss <at> yahoo.com> writes:

> 
> Here is the error I am getting (I always get the first warning so that 
> is nothing new):
> 
> $ ghc -o Main.hs SimpleJSON.hs PrettyJSON.hs Prettify.hs
> compilation IS NOT required
> compilation IS NOT required
> /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning -F: directory name 
> (/Users/me/Library/Frameworks) does not exist

Whoops.  Forgot the executable name.  I should be doing this:

$ ghc -o simple Main.hs SimpleJSON.hs PrettyJSON.hs Prettify.hs







More information about the Beginners mailing list