zephyr/lib/libc
Keith Packard 6c5d806bcb toolchain: Add COMPILER_FREESTANDING to control use of -ffreestanding
Add an explicit compiler configuration, COMPILER_FREESTANDING, which
controls whether the compiler should operate in freestanding or hosted mode
(according to the C and C++ language specifications.

This depends on having a C library which conforms with the language
specification, and the minimal C library does not. Have the minimal C
library select COMPILER_FREESTANDING to continue using freestanding mode
with that library.

For other C libraries, leave this disabled by default while allowing users
to enable it if they want to go back to the previous configuration.

Signed-off-by: Keith Packard <keithp@keithp.com>
2023-04-14 21:36:31 +09:00
..
arcmwdt lib: migrate includes to <zephyr/...> 2022-05-06 19:58:09 +02:00
armstdc armstdc: add string.h & strings.h header 2023-04-10 16:32:10 -05:00
common libc: share time() between minimal libc and armclang libc 2023-03-27 09:49:40 +02:00
minimal init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
newlib init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
picolibc init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
CMakeLists.txt libc: share time() between minimal libc and armclang libc 2023-03-27 09:49:40 +02:00
Kconfig toolchain: Add COMPILER_FREESTANDING to control use of -ffreestanding 2023-04-14 21:36:31 +09:00