On Wednesday 08 January 2003  5:00 pm, Simon Marlow wrote:
> What command line are you using?  Here's what I did:
>
> ~/scratch > cat  >foo.c
> ~/scratch > gcc -c foo.c
> ~/scratch > ghc --make hello.hs foo.o
> ghc-5.04.2: chasing modules from: hello.hs
> Skipping  Main             ( hello.hs, ./hello.o )
> ghc: linking ...
> ~/scratch >

The exact command line I'm using is..
 ghc --make -fglasgow-exts -Wall -o Main.exe Main.hs Fill.o Render.o
which gives..
 ghc-5.04.2: chasing modules from: Main.hs,Fill.o,Render.o
 ghc-5.04.2: can't find module `Fill.o' (while processing "Fill.o")

But playing about a bit, I found the solution. It doesn't like
upper case object file names. Not sure if that's by design or an
oversight. I've changed them to lower case and it works fine now.

Regards
--
Adrian Hey 

_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to