mips64-sgi-irix unreg success!

2003-10-22 Thread Donald Bruce Stewart
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 TclHaskell

2003-10-22 Thread Volker Stolz
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,

Optimization options?

2003-10-22 Thread Juanma Barranquero
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

Re: package treating

2003-10-22 Thread Serge D. Mechveliani
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

Re: Posible bug while optimizing? (Was: RULES for SPECIALIZ(E)ations)

2003-10-22 Thread Juanma Barranquero
An even simpler example, with just one module: --- module Test where import Data.List (genericLength) {-# RULES genericLength/length genericLength = length #-} --- D:\...\hask

RE: package treating

2003-10-22 Thread Simon Marlow
Now, does the package Package {name= docon, import_dirs = [$(e)], source_dirs = [], library_dirs= [$(e)], hs_libraries= [HSdocon], extra_libraries = [], include_dirs= [],

Re: interactive: internal error, ghc-6.0.1

2003-10-22 Thread Serge D. Mechveliani
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