docs: bootstrapping ludic-dev by hand needs --unsafe --globals (the toolchain's own programs keep their module vars)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
259b4d9b35
commit
dfcc851d2a
2 changed files with 2 additions and 2 deletions
|
|
@ -25,7 +25,7 @@
|
||||||
> ```bash
|
> ```bash
|
||||||
> # one-time bootstrap: clang assembles the seed, then ludicc compiles bin/ludic
|
> # one-time bootstrap: clang assembles the seed, then ludicc compiles bin/ludic
|
||||||
> mkdir -p bin && clang selfhost/ludicc.seed.ll -o bin/ludicc
|
> mkdir -p bin && clang selfhost/ludicc.seed.ll -o bin/ludicc
|
||||||
> bin/ludicc tools/ludic-cli/dev.ludic -o bin/ludic-dev
|
> bin/ludicc --unsafe --globals tools/ludic-cli/dev.ludic -o bin/ludic-dev
|
||||||
> bin/ludic-dev build # the whole toolchain into bin/
|
> bin/ludic-dev build # the whole toolchain into bin/
|
||||||
> # (ludicc, ludic, ludic-fmt, ludic-lsp)
|
> # (ludicc, ludic, ludic-fmt, ludic-lsp)
|
||||||
> bin/ludicc examples/games/snake.ludic -o bin/snake # the compiler, directly
|
> bin/ludicc examples/games/snake.ludic -o bin/snake # the compiler, directly
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ From a clean checkout, one line lifts the toolchain off the seed:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
mkdir -p bin && clang selfhost/ludicc.seed.ll -o bin/ludicc
|
mkdir -p bin && clang selfhost/ludicc.seed.ll -o bin/ludicc
|
||||||
bin/ludicc tools/ludic-cli/dev.ludic -o bin/ludic-dev
|
bin/ludicc --unsafe --globals tools/ludic-cli/dev.ludic -o bin/ludic-dev
|
||||||
```
|
```
|
||||||
|
|
||||||
That gives you `bin/ludic-dev`, the contributor tool: it replaces every
|
That gives you `bin/ludic-dev`, the contributor tool: it replaces every
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue