> (RedHat-6.1 Linux machine, libc-2.1.2),
> 
> Can you, please explain the following effect
> 
>    Main.hs:   main = putStr "hello\n"
> 
>    Makefile: 
>    ---------
>    obj:
>           ghc -c -O Main.hs  +RTS -M10m -RTS
> 
>    -- Running --------------------
>    $ tcsh
>    > make obj
>    ghc -c -O Main.hs  +RTS -M10m -RTS
>    ghc: input file doesn't exist: +RTS
>    ghc: unrecognised option: -M10m
>    ghc: unrecognised option: -RTS

It looks like 'make' is using a different PATH setting than the one in
effect at the shell prompt, and hence getting a different 'ghc'.

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

Reply via email to