On Mon Sep 12, 2022 at 10:44 PM CEST, Tom Schwindl wrote:
> 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.

Of course you'd have to handle all the nasty details such as writing your
own `_start' and initializing all sort of things. Not a fun thing to do.

> --
> Best Regards,
> Tom Schwindl


Reply via email to