Changes between Initial Version and Version 1 of Ticket #3798


Ignore:
Timestamp:
Jan 14, 2010 10:41:04 AM (4 years ago)
Author:
igloo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3798 – Description

    initial v1  
    11Hello.hs is a GUI hello world program I copied and pasted off http://en.wikibooks.org/wiki/Haskell/GUI. I have wxHaskell and ghc, and my attempt to compile it gives 
    2  
     2{{{ 
    33mark@mark-laptop:~/MyCode$ ghc -package wx Hello.hs -o bin 
    44Binary: Int64 truncated to fit in 32 bit Int 
     
    66  (GHC version 6.10.4 for i386-unknown-linux): 
    77        Prelude.chr: bad argument 
    8  
     8}}} 
    99Meanwhile, running it off ghci gives a series of successfully linked and loaded packages, terminating with 
    10  
     10{{{ 
    1111Loading package wxdirect-0.12.1.1 ... linking ... done. 
    1212Loading package wxcore-0.12.1.2 ... <command line>: can't load .so/.DLL for: stdc++ (libstdc++.so: cannot open shared object file: No such file or directory) 
    13  
     13}}} 
    1414(I put type of failure as other because it's a GHC panic and a GHCi failure and probably some other sort of bug too.)