Re: [wiki] Monocypher rocks!

From: Tom Schwindl <schwindl_AT_posteo.de>
Date: Mon, 12 Sep 2022 20:44:38 +0000

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
Received on Mon Sep 12 2022 - 22:44:38 CEST

This archive was generated by hypermail 2.3.0 : Mon Sep 12 2022 - 22:48:49 CEST