Problem running X11 on PPC Mac

Christian Maeder maeder at
Wed Nov 15 09:14:31 EST 2006

Gregory Wright schrieb:
>> /opt/local/lib/ghc-6.6/HSX11_cbits.o: unknown symbol `_printf$LDBLStub'
> I think I remember seeing something like this.  I'll look into it some
> more.

That's a gcc problem. I think, HSX11_cbits.o should be built with
gcc-3.3. (I assume your default is gcc-4.0.)

Try adding "-pgmc /usr/bin/gcc-3.3" to ghc's command-line.


P.S. I had to set DYLIB_LIBRARY_PATH, before it worked for me

More information about the Glasgow-haskell-users mailing list