Sven Tennie pushed to branch wip/romes/hadrian-cross-stage2-rebase_SVEN_FINAL at Glasgow Haskell Compiler / GHC
Commits:
-
34cd787c
by Sven Tennie at 2026-06-05T17:19:53+02:00
1 changed file:
Changes:
| 1 | +section: packaging
|
|
| 2 | +synopsis: Hadrian now builds stage 2 cross-compilers
|
|
| 3 | +issues: #19174
|
|
| 4 | +mrs: !15231
|
|
| 5 | +description: {
|
|
| 6 | + Hadrian can now build a stage 2 cross-compiler. Following the usual staged
|
|
| 7 | + build, the bootstrap compiler (stage 0) builds a stage 1 compiler
|
|
| 8 | + (host → host), which is then used to build the stage 2 cross-compiler
|
|
| 9 | + (host → target).
|
|
| 10 | + |
|
| 11 | + This sanitizes a number of special cases in the build system that previously
|
|
| 12 | + had to accommodate the absence of a stage 2 in cross builds, and lays the
|
|
| 13 | + groundwork for fully cross-compiled binary distributions where the compiler
|
|
| 14 | + runs on the target (stage3 cross-compiler, target → target).
|
|
| 15 | +} |