| Updating GreenCard (and the Xlib and Win32 .gc files) to use
| ForeignPtr and Ptr instead of ForeignObj and Addr is on my todo list
| for a while (but not making progress because I wanted to get Hugs' ffi
| implementation out the door, the ForeignPtr spec was in a state of
| flux for the last month or two and I had other commitments).

Alastair,

This is more urgent than I had realised.   I'm not sure what has
changed, but
a) I can't build hslibs/win32  (error messages below)
b) Without win32 I can't bootstrap GHC (it's needed in hsc2hs apart from
        anything else; maybe elsewhere, I'm not certain)

Bottom line: it is inconvenient or impossible to bootstrap on win32.
This is Mike T's problem too.

I'm sure I bootstrapped not so long ago, so I'm not sure what has
changed.  Is there any chance you could look into fixing this?  I think
you are the only person who knows what is going on in Win32.

There's a separate issue of making win32 into a libraries/win32 package,
but that comes second.

Simon


==fptools== make all - --unix -r;
 in /cygdrive/c/fptools-HEAD/hslibs/win32
------------------------------------------------------------------------
c:/mingw/bin/gcc -E -mno-cygwin  -undef -traditional
-I../../ghc/includes -x c  win32.conf.in \
        | sed 's/^#.*$//g' >win32.conf.inplace
c:/mingw/bin/gcc -E -mno-cygwin  -undef -traditional
-I../../ghc/includes -DINSTALLING -x c  win32.conf.in \
        | sed 's/^#.*$//g' >win32.conf.installed
../../ghc/utils/ghc-pkg/ghc-pkg-inplace --update-package
<win32.conf.inplace
warning: can't find GHCi lib `HSwin321.o'
warning: can't find GHCi lib `HSwin322.o'
Reading package info from stdin... done.
Expanding embedded variables...done.
Saving old package config file... done.
Writing new package config file... done.
../../ghc/utils/ghc-pkg/ghc-pkg-inplace  -f
../../ghc/driver/package.conf --update-package <win32.conf.installed
warning: can't find GHCi lib `HSwin321.o'
warning: can't find GHCi lib `HSwin322.o'
Reading package info from stdin... done.
Expanding embedded variables...done.
Saving old package config file... done.
Writing new package config file... done.
../../ghc/compiler/ghc-inplace -lbfd -liberty -cpp -fvia-C
-optc-DTARGET_GHC -fglasgow-exts   -package-name win32 -DDEBUG -H32m
-package lang    -c Win32Spawn.hs -o Win32Spawn.o

Win32Spawn.hs:23:
    Warning: foreign declaration uses deprecated non-standard syntax
c:\TEMP\ghc712.hc: In function `r1Em_fast5':
c:\TEMP\ghc712.hc:59: warning: implicit declaration of function
`spawnProc'
c:/mingw/bin/gcc -mno-cygwin -O -DTARGET_GHC -I../../ghc/includes    -c
WndProc.c -o WndProc.o
c:/mingw/bin/gcc -mno-cygwin -O -DTARGET_GHC -I../../ghc/includes    -c
diatemp.c -o diatemp.o
c:/mingw/bin/gcc -mno-cygwin -O -DTARGET_GHC -I../../ghc/includes    -c
dumpBMP.c -o dumpBMP.o
c:/mingw/bin/gcc -mno-cygwin -O -DTARGET_GHC -I../../ghc/includes    -c
errors.c -o errors.o
c:/mingw/bin/gcc -mno-cygwin -O -DTARGET_GHC -I../../ghc/includes    -c
finalizers.c -o finalizers.o
c:/mingw/bin/gcc -mno-cygwin -O -DTARGET_GHC -I../../ghc/includes    -c
spawnProc.c -o spawnProc.o
rm -f libHSwin32.a
c:/cygwin/bin/ar clqs    libHSwin32.a WndProc.o diatemp.o dumpBMP.o
errors.o finalizers.o spawnProc.o Win32Dialogue_stub.o
Win32Window_stub.o Win32Spawn.o WndProc.o diatemp.o dumpBMP.o errors.o
finalizers.o spawnProc.o 
c:/cygwin/bin/ar: Win32Dialogue_stub.o: No such file or directory
make[1]: *** [libHSwin32.a] Error 1
make: *** [all] Error 1
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to