| | @@ -317,6 +317,31 @@ |
| 317 | 317 | before `__LINKEDIT`; `make gdb`'s twin drives `lldb --batch`. About 50 |
| 318 | 318 | lines, `makeLines` and `putDebug` shared by the two writers. |
| 319 | 319 | |
| 320 | +**Where it stands**, 2026-11-15, stopped by the owner's word: |
| 321 | + |
| 322 | +- Done and pushed: steps 1 to 7. A cross compiler, built in the |
| 323 | + container by `src/cross.sh darwin-arm64`, makes Mach-O programs that |
| 324 | + run on the Mac: `make mac-check` passes test/mac, all of conform/run |
| 325 | + (SystemImport aside, SYSCALL being Linux's), the library's tests and |
| 326 | + test/libc (ExecveC aside, /proc being Linux's); lldb stops at a line. |
| 327 | + `HOST=darwin src/cross.sh darwin-arm64` stages a native compiler that |
| 328 | + runs on the Mac. Linux is unchanged: `make docker-check`, the |
| 329 | + fixpoint, and x86-64's output byte for byte. |
| 330 | +- Step 9, half done, unchecked, on the local branch `wip-darwin-step9` |
| 331 | + (f87c668, not pushed): `make raz` on the Mac through |
| 332 | + `src/bootstrap.sh`, `BOOT` naming a tarball per host, the fixpoint and |
| 333 | + bench on the Mac, `raz run`'s temporary file, `make dist` for the Mac. |
| 334 | + To resume: check it out, read `git diff main`, run `make docker-check` |
| 335 | + and `make mac-check`, finish what's missing, merge. |
| 336 | +- Not started: step 8 (`make check` natively on the Mac, `test/`'s |
| 337 | + expectations per target where the Mac differs) and step 10 (the |
| 338 | + release). |
| 339 | +- Known limits on the Mac: a frame of at most 16 MB |
| 340 | + (test/run/ThreadOverflowC doesn't compile); `Thread.Mutex` is |
| 341 | + `os_unfair_lock`, unlocked by the thread that locked it; `Bytes` is |
| 342 | + plain raz, no NEON; `raz run` leaves its file in `$TMPDIR` (fixed on |
| 343 | + the branch). The compiler is about 16,700 lines of code of 18,000. |
| 344 | + |
| 320 | 345 | ## 6. Clean-up: v0.27.0, the last before 1.0 |
| 321 | 346 | |
| 322 | 347 | The files that served the thaws are made a record, short and true: |