Email or username:

Password:

Forgot your password?
Top-level
✧✦✶✷Catherine✷✶✦✧

@ireneista @nil clang also does this! it's a classic firmware dev issue

you cannot implement the C standard library in (standard, non-freestanding) C by the explicit design of C

5 comments
Eniko | Kitsune Tails out now!

@whitequark @ireneista @nil I'm honestly kind of confused why nostdlib and freestanding are separate switches

Nikita Lisitsa

@eniko @whitequark @ireneista @nil Afaik freestanding is an option for the compiler itself while nostdlib is effectively an option for the linker (or rather to control the linker inputs), maybe that's the reason they're separate

Emil J

@eniko @whitequark @ireneista @nil I think freestanding is "there is no memcpy" and nostdlib is "I brought my own memcpy" so you'd use one for your memcpy and friends and the other for the rest of your very custom system?

Go Up