#31 building cvs version failed on windows

closed
None
5
2008-06-29
2007-04-27
yong
No

Hi,

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.

-Yong Lu

Discussion

  • Eric Kow
    Eric Kow
    2008-02-17

    • assigned_to: nobody --> shelarcy
     
  • Eric Kow
    Eric Kow
    2008-02-17

    Logged In: YES
    user_id=242465
    Originator: NO

    Assigning to shelarcy (who knows more about Windows than I do).

     
  • Logged In: YES
    user_id=811723
    Originator: NO

    We already swithed to use darcs instead of CVS.
    Please use newer version(0.10.3 or highter)'s source release or darcs repository on http://darcs.haskell.org/wxhaskell/ , if you want to build wxHaskell from source.

    And we have plan to move repository to code.haskell.org.
    http://www.mail-archive.com/wxhaskell-devel@lists.sourceforge.net/msg00210.html

    So, please check our latest information.

     
    • status: open --> closed