On Jul 16, 2007, at 11:25 AM, Joerg van den Hoff wrote:
#------------------------------------------------------ dyld: Library not loaded: /opt/local/lib/libgmp.3.dylib Referenced from: /opt/local/lib/ghc-6.6.1/ghc-6.6.1 Reason: no suitable image found. Did find: /opt/local/lib/libgmp.3.dylib: incompatible cpu-subtype Trace/BPT trap #------------------------------------------------------
does this mean that due to the "incompatible cpu-subtype" I need to recompile ghc from scratch for the G4? I would rather not (it took 3 hours on the G5...). no way around this?
It's libgmp that is the problem here. It compiled on the G5 with G5 specific optimizations and so won't work on your G4. You can rebuild it for your G4 and things should be OK (or at least, it'll get past this specific error). Note that the G4 version should run OK on your G5 (although it might be slightly slower). -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+