Hey all,
mips-sgi-irix builds and runs unregisterised from CVS!
$ uname -a
IRIX64 edison 6.5 07141529 IP30 mips
$ ghc-inplace --version
The Glorious Glasgow Haskell Compilation System, version 6.3
$ cat test.hs
import System.Info
main = do
putStrLn
ghci doesn't automatically pick up libtcl libtk, although they're in
package.conf. LD_PRELOADing them works fine [plain ghc works as well].
Is this a feature?
Tracing shows that libt{cl,k}83.so *are* opened. Changing the order in
extra_libraries or moving them to extra_ld_opts doesn't help,
User's Guide 6.2 says:
So, when we want very fast code, we use: -O -fvia-C.
but I've seen programs which use the (apparently undocumented) -O2-for-C
flag too.
In fact, generally speaking anyone of:
-O -fvia-C
-O2 -fvia-C
-O -fvia-C -O2-for-C
-O2 -fvia-C -O2-for-C
produces different
On Tue, Oct 21, 2003 at 02:03:03PM +0100, Simon Marlow wrote:
I presumed that, as the ghci
command loads all usable libraries, then
ghci -package-conf myPackage.conf -package myPackage
will load all that `ghci' loads +
what is specified
An even simpler example, with just one module:
---
module Test where
import Data.List (genericLength)
{-# RULES
genericLength/length genericLength = length
#-}
---
D:\...\hask
Now, does the package
Package {name= docon,
import_dirs = [$(e)],
source_dirs = [],
library_dirs= [$(e)],
hs_libraries= [HSdocon],
extra_libraries = [],
include_dirs= [],
On Wed, Oct 22, 2003 at 12:23:51PM +0100, Simon Marlow wrote:
This is on
ghc-6.0.1
installed from RPM on Red Hat Linux release 7.3 (Valhalla),
i-386 unknown.
Probably, you can reduce the example several times more.
ghci Main +RTS -M1m -RTS
.. : Main
.. main