Hi,

On Mon Sep 12, 2022 at 9:09 PM CEST, Lancia Greggori wrote:
> >It has no dependencies (NOT EVEN ON LIBC).
> How is it possible to write a C library with absolutely no dependency on
> libc?
>

Simply pass `-nostdlib' and do not include any standard headers.
However, none of this is done in monocypher[1], thus it actually depends on
libc (which isn't a problem).

[1] https://github.com/LoupVaillant/Monocypher/blob/3.1.3/src/monocypher.h#L57

--
Best Regards,
Tom Schwindl

Reply via email to