On Tue, Dec 02, 2008 at 08:53:09AM +0000, Simon Marlow wrote:
> >Patch attached. If it's not too stupid (autoconf-wise), it would
> >be nice if someone could apply it upstream. Applying it to other
> >operating systems (if necessary) shouldn't be too difficult.
> 
> Does this work with GHCi too? i.e. does 'ghci -package unix' work?

Yes:

$ ghci -package unix
GHCi, version 6.11.20081210: http://www.haskell.org/ghc/  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer ... linking ... done.
Loading package base ... linking ... done.
Loading package unix-2.3.1.0 ... linking ... done.
Loading package ffi-1.0 ... linking ... done.
Prelude> 

And to be sure that I didn't mess up with the build and *really*
disabled SplitObjs:

$ ghci --info       
 [("Project name","The Glorious Glasgow Haskell Compilation System")
 ,("Project version","6.11.20081210")
 ,("Booter version","6.6.1")
 ,("Stage","2")
 ,("Interface file version","6")
 ,("Have interpreter","YES")
 ,("Object splitting","NO")
 ,("Have native code generator","YES")
 ,("Support SMP","YES")
 ,("Unregisterised","NO")
 ,("Tables next to code","YES")
 ,("Win32 DLLs","")
 ,("RTS ways"," debug  thr thr_p thr_debug")
 ,("Leading underscore","NO")
 ,("Debug on","False")
 ]

The build.mk looks like this:

        GhcLibHcOpts=-O -fgenerics -fasm
        GhcStage1HcOpts=-O -fasm
        GhcStage2HcOpts=-O -fasm
        SplitObjs=NO
        GhcLibWays=
        HADDOCK_DOCS=YES
        LATEX_DOCS=NO

Ciao,
        Kili

ps: Sorry for the delay, and thanks to Simon for sending me a ping this day.

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to