
20 Mar
2002
20 Mar
'02
10:12 a.m.
(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
8463
Age (days ago)
8463
Last active (days ago)
0 comments
1 participants
participants (1)
-
Simon Marlow