Which once again seems wrong, or rather incomplete.
Wrong, not just incomplete — and you supplied the counterexample yourself. Fixed and pushed; the long version is in the commit messages:
github.com/phaelonimaire/claude-os2-toolkit-Zomf and .lib. Your
-lmmpm2 datum was right. emxomfld tries
.lib third of six, ahead of
_s.lib and
_s.a — so
.lib was never the problem. What fooled us was the diagnostic: on failure
find_lib() leaves the
last candidate it built in the buffer, and weakld prints that. Proof in two lines:
$ gcc -Zomf t.c -L. -lzznothing -> weakld: cannot open ... zznothing_s.a
$ gcc -Zomf -static t.c -L. -lzznothing -> weakld: cannot open ... zznothing.a
Nothing called zznothing exists either way — different mode, different reported name. Your "implies using emxomfld which resolves" wording is the frame the section uses now.
And the readline case was worse than I first wrote. It wasn't just "no curses under that name". ncurses is in
netlabs-rel right enough, but it wasn't
on my box when that build ran — rpm install dates put the base packages at 2015, readline at 2021, and ncurses at late 2025. And even once installed,
-lcurses still fails:
ncurses-libs gives you
libcurses.dll, but
.dll isn't in the default suffix list (that needs
-Zdll-search) — what
-l wants is the import library from
ncurses-devel, a separate package. So the "just ls the directory" advice I was leaning on can show you a curses file and it's still a link failure. Available, present and linkable are three different things.
config.site. Right, and better than the ever-growing
CC=/
GREP= list. Two caveats: the automatic
$prefix/share/config.site only applies when
--prefix was passed, and it still needs
CONFIG_SHELL — without it every check passes, "creating config.status" prints, and
then it dies on
/bin/sh: not found with no Makefile.
exeext. Right instinct, wrong variable — it's
ac_executable_extensions (
EXEEXT is the suffix of what configure builds). autoconf references it and assigns it nowhere, so it's yours to set.
Your citation question. Cite the code, not the note —
emxomfld.c,
find_lib(), three adjacent arrays anyone can open. That list is stale in the notes anyway, and
find_lib()'s own header comment gives a third order matching neither. As for rewording a simple list: you don't have to. A list of names in functional order is a fact, not expression — reproduce it and cite where you read it. CONTRIBUTING.md now says so; that gap was real.
And fair on qualifying "on Linux" — each section is now tagged host or OS/2, with the host a convenience for
autoreconf rather than a requirement.