tools/nolibc: also mention how to build by just setting the include path
authorWilly Tarreau <w@1wt.eu>
Mon, 7 Feb 2022 16:23:53 +0000 (17:23 +0100)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 14 Feb 2022 18:48:55 +0000 (10:48 -0800)
commit577bf39ea6571f4e56825cea277cf844ad41b67f
treec994edac3da88ca6fd8177d97635635847ce6db7
parent3755f4beb2fa1be96a2655f248fe819b20d58c83
tools/nolibc: also mention how to build by just setting the include path

Now that a few basic include files are provided, some simple portable
programs may build, which will save them from having to surround their
includes with #ifndef NOLIBC. This patch mentions how to proceed, and
enumerates the list of files that are covered.

A comprehensive list of required include files is available here:

  https://en.cppreference.com/w/c/header

Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/include/nolibc/nolibc.h