You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 2, 2020. It is now read-only.
The old build system used a variety of different names for build directories: dist, dist-boot, dist-install, stage1, etc.
Proposal: always use stageN as the build directory when using stageN compiler. This will simplify the build system considerably.
One potential inconvenience: in the old build system, ghc-stage2 executable lived in stage2 directory. Under this proposal ghc-stage2 will live in stage1 directory, because it is built by stage1 compiler. Admittedly this may be confusing for the long-time users of the old build system, however I think this is logically consistent.
The text was updated successfully, but these errors were encountered:
PS: This would have the effect that for (non-canadian) cross-compilers, the stage0/ folder would countain binaries and object-code runnable on the build-host, while stage1/ would contain binaries and object-code compiled for the target-arch. That appears to be nicely consistent
Well, in /stage0 :-) The bootstrapping compiler is referred to as Ghc Stage0 in the new build system. Does this make sense?
...the stage0/ folder would countain binaries and object-code runnable on the build-host, while stage1/ would contain binaries and object-code compiled for the target-arch. That appears to be nicely consistent
Indeed! That's another bonus I didn't think about.
The old build system used a variety of different names for build directories:
dist
,dist-boot
,dist-install
,stage1
, etc.Proposal: always use
stageN
as the build directory when usingstageN
compiler. This will simplify the build system considerably.One potential inconvenience: in the old build system,
ghc-stage2
executable lived instage2
directory. Under this proposalghc-stage2
will live instage1
directory, because it is built bystage1
compiler. Admittedly this may be confusing for the long-time users of the old build system, however I think this is logically consistent.The text was updated successfully, but these errors were encountered: