Please sign in to comment.
Fix error building on some 32 bit targets.
Ignore-this: 212d1935582b619313032033a20834d Apply patch due to Heinrich Apfelmus (firstname.lastname@example.org). His description attached below: "I just tripped over a bug in the Setup.hs belonging to wxc that prevented me from compiling wxHaskell with 32bit architecture. The problem is the following: in the function linkSharedLib , the function runProgram is commented out and the function system is used instead. This is not correct because gcc may (and in my case: does) carry additional command line options! (Besides, the verbose output is lost.) Apparently, this was done because the runProgram didn't work for some reason. The reason is that some command line options are actually two arguments. In particular, setting the output file via "-o " ++ out_dir </> sharedLibName ver basename, is not correct, the right way to go about it are two arguments "-o", out_dir </> sharedLibName ver basename, Same for the "-install_name" option. Four lines need to be changed in the linkCxxOpts file, then runProgram will work." darcs-hash:20120414142124-75908-2cab48a05599cd3556734f64dbd712a24fe6c619.gz
- Loading branch information...