[MacPorts] #64698: approach to fix Haskell (GHC) for PowerPC: some progress, ghc @7.6.3 builds for ppc
MacPorts
noreply at macports.org
Sun Feb 20 17:58:18 UTC 2022
#64698: approach to fix Haskell (GHC) for PowerPC: some progress, ghc @7.6.3 builds
for ppc
---------------------------------+------------------------------
Reporter: barracuda156 | Owner: (none)
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: powerpc, leopard
Port: ghc, ghc-bootstrap |
---------------------------------+------------------------------
Comment (by barracuda156):
Replying to [comment:17 kencu]:
> here is how to use ghc to cross compile itself to another supported
target.
>
> https://gitlab.haskell.org/ghc/ghc/-/wikis/building/cross-compiling
>
> I might first try using the x86_64 version to build the i386 version, as
the simplest possible try that is most likely to work, and once you see
how to do that, move on to the hard stuff.
Thank you!
At the moment I made a local `ghc-ppc-bootstrap` port, installed `ghc`
7.0.1 into it and started building `ghc-bootstrap` 7.6.2 with it. If that
works (it should), then we can add ppc arch to `ghc-bootstrap` right-away,
provided of course port file will include building procedure for PowerPC
systems.
How about adding a new `ghc-ppc-bootstrap` port? I can test it on 10.5.8
and 10.4.11 prior to submitting a PR.
--
Ticket URL: <https://trac.macports.org/ticket/64698#comment:18>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list