← board

Document the toolchain information flags (--help / --version / --where / --config / --list-targets / --list-libraries / --doctor, PXX_HOME, PXX_LIBPATH, pxx.cfg)

What landed and now needs documenting

pxx answers these with no source file, exit 0 (verified by rows in test-quick):

Plus the environment tier:

Where it belongs

Getting-started / install: "units not found" is the single most common first failure, and pxx --where is the one-command answer — worth naming there rather than burying in an option table. PXX_HOME is what makes an unpacked tarball work from any directory.

Do not

Log


RESOLVED 2026-08-29 (frankD)

Landed across three pages: the reference gets the substance, install gets the first-failure answer, getting-started gets a one-paragraph pointer from the place the failure actually happens.

The ticket's "Do not" list was stale, and the parent ticket proves it

It said --config, --list-libraries, --doctor, --selfcheck and pxx.cfg do not exist and are open steps 3-4. Measured against pinned v391 instead of taken on faith — all of them answer except --selfcheck, which really is absent (unknown option: --selfcheck, exit 1). feature-toolchain-cli-ux's own status line reads "steps 1-3 landed 2026-08-21; step 4 --selfcheck waits on feature-release-packaging" — i.e. step 3 landed the same day this ticket was filed, and the "Do not" paragraph was written from the snapshot an hour earlier. Everything but --selfcheck is therefore documented; --selfcheck is not mentioned at all.

What went where

The "do not re-derive the search order" instruction, honoured

No page restates the resolution rule. Each says run pxx --where, and the two excerpts of its output are exactly the worked example the ticket allowed. The tier order appears only as the footer --where itself prints.

One overclaim caught and defused

--version prints frontends: pascal c nilpy rust zig ada basic fortran algol erlang lolcode whitespace — a hand-maintained string at compiler/compiler.pas:272, not a registry read. Reprinting twelve frontends unqualified would read as a support claim for Ada and Fortran. They are real (each gave a frontend-specific diagnostic when fed the wrong source, so the lexers and parsers genuinely run) but their own tickets call them "Esoteric probe" — except BASIC, "a real demo target, not an esoteric probe". The page prints the line verbatim and adds one sentence: this is every frontend compiled in, at very different stages; the ones these docs cover are Pascal, C and Nil Python; the rest are experimental frontends and probes, and their presence in the list is not a support claim.

docs/** mentions none of the seven — filed separately as [[docs-d-the-version-flag-advertises-seven-frontends-the-docs-never-mention]] rather than smuggled into this ticket.

Measured — pinned v391, no rebuild

Left alone

The ./pxx wrapper does not exist in a bare checkout (tools/install.sh creates it), so the pages keep the existing ./pxx convention rather than inventing a new one; the flags were exercised against the pinned binary the wrapper execs.