From: Wolfgang T. <wth...@us...> - 2004-05-13 11:08:43
|
Update of /cvsroot/hoc/hoc/HOC In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7280/HOC Modified Files: HOC-macos.conf Log Message: Make HOC.MsgSend compile via C to work around a bug in GHC 6.2's NCG for PowerPC. The NCG doesn't generate the proper dynamic linker stubs for taking the address of dylib-imported functions. The bug will be fixed in GHC 6.4, so we will be able to remove the -fvia-C flag again then. Compiling via C required adding a new .h file with the prototypes for objc_msgSend and friends; Apple is not helping us here by letting a single line of Objective-C slip into an otherwise plain C header file. Also, removed the previous workaround from HOC/HOC-macos.conf. Index: HOC-macos.conf =================================================================== RCS file: /cvsroot/hoc/hoc/HOC/HOC-macos.conf,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- HOC-macos.conf 13 May 2004 04:52:59 -0000 1.2 +++ HOC-macos.conf 13 May 2004 11:08:33 -0000 1.3 @@ -12,7 +12,7 @@ package_deps = ["base","haskell-src"], extra_ghc_opts = [], extra_cc_opts = [], - extra_ld_opts = ["-Xlinker", "-read_only_relocs", "-Xlinker", "suppress"], + extra_ld_opts = [], framework_dirs = [], extra_frameworks = ["Foundation"] } |