[Haskell-cafe] build recent(ish) ghc on macos 10.3.9 powerpc?

Uwe Hollerbach uhollerbach at gmail.com
Sun Mar 16 12:03:18 EDT 2008

Thanks for the tip, Judah, I went and got the ghc 6.4.1 package...
unfortunately, it installs ok, but isn't able to compile anything: I
get "Unknown pseudo-op: .subsections_via_symbols" when I try to build
a trivial test program. I found one note on the web that says "can't
work, needs newer version of XCode than comes with OSX 10.3", and
another note that says "you have to install all of XCode". So I'm
going to see if I missed installing some portion of XCode (I don't
think so, but it was a while ago), but otherwise I might just be out
of luck :-(


On 3/15/08, Judah Jacobson <judah.jacobson at gmail.com> wrote:
> On Sat, Mar 15, 2008 at 2:04 PM, Uwe Hollerbach <uhollerbach at gmail.com> wrote:
>  >
>  >  Hi, all, I have an old iMac G3, running OSX 10.3.9, to which I have a
>  >  sentimental attachment. I'd like to get ghc running on it, but the
>  >  pre-built binaries I can find are all for more-recent iMacs, so I
>  >  thought I would try to build it myself. I believe I read somewhere
>  >  that gcc 3.3.X didn't work quite right for recent ghc -- I'm trying
>  >  for now to build ghc 6.6.1 -- so I started by upgrading gcc to 3.4.6.
>  >  That's working. So, with that in place, I went to the "porting ghc to
>  >  a new arch" page and started going through the steps. I'm using a
>  >  laptop running linux as the "host" computer, so that's
>  >  i386-unknown-linux, some Fedora core derivative. It's using gcc 3.4.4.
>  >
> It looks like ghc 6.4.1 had an installer package for 10.3.9; does that
>  work for you?
>  http://www.haskell.org/ghc/download_ghc_641.html
>  I think that the current version of ghc is supposed to be buildable
>  with 6.4, so you might be able to bootstrap 6.6 or 6.8 that way,
>  without going through the whole porting process.  Let us know if you
>  run into problems with it.
>  Hope that helps,
> -Judah

More information about the Haskell-Cafe mailing list