Skip to content

linux: fix musl linking and warn on dynamic glibc cross-compilation#3278

Merged
lerno merged 1 commit into
c3lang:masterfrom
ManuLinares:compiler-musl
May 29, 2026
Merged

linux: fix musl linking and warn on dynamic glibc cross-compilation#3278
lerno merged 1 commit into
c3lang:masterfrom
ManuLinares:compiler-musl

Conversation

@ManuLinares
Copy link
Copy Markdown
Member

c3c ... -linux-libc=musl

  • warn user if they are in a glibc system compiling with -linux-libc=musl that they should use the builtin linker
  • warn user if they are dynamically linking in a glibc system.
  • warn user if they are statically linking against glibc, reminding them to use musl instead.

### `c3c ... -linux-libc=musl`

- warn user if they are in a glibc system compiling with
`-linux-libc=musl` that they should use the builtin linker
- warn user if they are dynamically linking in a glibc system.
- warn user if they are statically linking against glibc, reminding them
to use musl instead.
@lerno lerno merged commit 42469ec into c3lang:master May 29, 2026
18 checks passed
@lerno
Copy link
Copy Markdown
Collaborator

lerno commented May 29, 2026

Thank you

@ManuLinares ManuLinares deleted the compiler-musl branch May 29, 2026 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants