FA-9172 / Build systems / Member archive
Link command assembly: Search path arguments are collapsed · case 02
Search path arguments are collapsed.
Case contract
Emit object arguments first, then each archive in declared order preserving repeats, then frameworks as paired flags, then search directories as paired flags, then the output pair.
Why this case matters
An offline model of link command assembly, suitable for testing build and release tooling without external services.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| fixture 2 | ["b.o", "a.o", "x.a", "y.a", "x.a", "-framework", "Core", "-framework", "UI", "-L/lib a", "-L/lib b", "-o", "my app"] | ["b.o", "a.o", "x.a", "y.a", "x.a", "-framework", "Core", "-framework", "UI", "-L", "/lib a", "-L", "/lib b", "-o", "my app"] | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗