"Simon Marlow" <[EMAIL PROTECTED]> writes:
> Cross compilation in GHC is usually done by taking .hc files
> generated on a machine with a working GHC and compiling them on the
> target machine using only gcc. This is how we bootstrap GHC on new
> machines.
So then it reduces to getting a GCC cr
How do I use raw sockets? According to the documentation I can use AF_RAW.
It also refers the user to the implementation in
fptools/hslibs/net/SocketPrim.lhs. Do I really need to do this and if so
how do I get it?
This compiles and runs as expected:
module Main(main) where
import SocketPrim (Fa
$ ghci
___ ___ _
/ _ \ /\ /\/ __(_)
/ /_\// /_/ / / | | GHC Interactive, version 5.02.2, for Haskell
98.
/ /_\\/ __ / /___| | http://www.haskell.org/ghc/
\/\/ /_/\/|_| Type :? for help.
Loading package std ... linking ... done.
Prelude> 0 * 2
0
--
Ashle
Warning
Unable to process data:
multipart/mixed;boundary="=_NextPart_000_00A3_56E08B4E.A5256B56"
I've meanwhile discovered a problem with my GHC compile for PowerPC.
While it manages to compile simple programs and the FFI seems to work (for
my simple test program), many programs compiled by it abort with a message
like:
scavenge_stack: weird activation record found on stack: xx
where xx is so
> I realize that you would rather clean things up first, but could I talk
> you
> into passing on your patches? We could use a build on MacOS X today (and
> I
> literally mean today).
It's not easy... when I say "unclean", I _mean_ unclean.
However, here it is...
I even added a new file in a p