I retrieved the latest wxHaskell by darcs and tried
to build it on windows. I have installed the latest
cygwin and mingw utils (not msys).
gcc version: 3.4.4 with -mno-cygwin
GHC version: tried both 6.4.2 and 6.6.
wxWidgets version: 2.6.4, cross compiled by gcc 3.4.5 on Linux amd64 to ming32msvc.
The building process failed with this message:
ghc -c wxcore/src/Graphics/UI/WXCore/WxcClassesAL.hs -o out/wx/imports/Graphics/UI/WXCore/WxcClassesAL.o -iout/wx/imports -odir out/wx/imports -hidir out/wx/imports -fvia-C -package-name wxcore-0.10.1 -Iwxc/include
cc1.exe: out of memory allocating 65536 bytes
make: *** [out/wx/imports/Graphics/UI/WXCore/WxcClassesAL.o] Error 1
I monitored the memory usage of the cc1.exe and it was using ~110MB memory before crash.
Hardware: Pentium-M 1.5GHz w/ 2GB memory, Windows XP Pro SP2.
Your help is appreciated.