[Haskell-cafe] Why does ghci recompile the module compiled in
different OS ?
zaxis
z_axis at 163.com
Fri Sep 3 21:36:42 EDT 2010
Both linux and freebsd has the same .ghci file.
>cat ~/.ghci
:def hoogle \str -> return $ ":! hoogle --count=15 \"" ++ str ++ "\""
:cd /media/G/www/qachina/db/doc/money
the money.hs has many functions i need to use.
On freebsd, i use the following command to compile it:
>ghc -c -O2 money.hs
>ls
Money.hi Money.hs Money.o
When entering ghci, it indeed doesnot recompile the module.
>ghci
...
Ok, modules loaded: Money
However, when i use the same module in archlinux, the ghci does recompile
the module:
>ghci
...
[1 of 1] Compiling Money ( Money.hs, interpreted )
Ok, modules loaded: Money.
Any suggestion is appreciated!
-----
e^(π⋅i) + 1 = 0
--
View this message in context: http://old.nabble.com/Why-does-ghci-recompile-the-module-compiled-in-different-OS---tp29619740p29619740.html
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.
More information about the Haskell-Cafe
mailing list