On Mon, May 28, 2012 at 3:20 PM, Miguel Negrao <miguel.negrao-lists@friendlyvirus.org> wrote:
Now when I try to compile a hello world program * I get :

ghc test.hs

If this is not ghc 7.4.1, you need --make there for it to follow and link the required system libraries.
 
ld: warning: ignoring file /System/Library/Frameworks//QuickTime.framework/QuickTime, file was built for unsupported file format which is not the architecture being linked (x86_64)

And this sounds like you have a version of the C wx libraries that is not for 64-bit architectures.

--
brandon s allbery                                      allbery.b@gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms