Keith Packard
c33c2bf04e
picolibc: Allow default memory layout values to be configured
...
These values are used when constructing the default linker scripts
used with picolibc. Setting reasonable defaults allows simple test
applications to be compiled without additional configuration.
Signed-off-by: Keith Packard <keithp@keithp.com>
2023-04-19 15:13:55 +12:00
Keith Packard
06faf2002e
picolibc: Don't disable libstdc++ wchar_t for 1.8.1 or newer
...
Picolibc 1.8.1 has wchar_t stdio support, so libstdc++ can include
it.
Signed-off-by: Keith Packard <keithp@keithp.com>
2023-04-19 15:13:55 +12:00
Joakim Nohlgård
1a362b5607
picolibc: Add configuration to select picolibc as the system libc
...
This moves the picolibc configuration values under C-library -> picolibc
so that they will be more easily discovered.
Signed-off-by: Joakim Nohlgård <joakim@nohlgard.se>
2023-03-08 16:54:12 +13:00
Joakim Nohlgård
8a9d371d06
picolibc: Use ${CT_CC} for compiler
...
Signed-off-by: Joakim Nohlgård <joakim@nohlgard.se>
2023-03-08 16:54:12 +13:00
Alexey Neyman
7b97bdd825
Convert tabs to spaces
...
Recent changes introduced a mixture of tabs/spaces that result in broken
indentation in multiple places.
Signed-off-by: Alexey Neyman <stilor@att.net>
2022-02-11 00:47:51 -08:00
Keith Packard
9dc8ebf871
picolibc: Disable wchar_t use in libstdc++
...
Picolibc doesn't support wchar_t in stdio, so disable the use of these
functions from libstdc++.
Signed-off-by: Keith Packard <keithp@keithp.com>
2021-07-13 11:18:47 -07:00
Keith Packard
27b18d2fc7
picolibc: Build libstdc++ against picolibc if requested
...
This uses the gcc support for building libstdc++ using alternate lib
header files.
Signed-off-by: Keith Packard <keithp@keithp.com>
2021-01-11 23:29:01 -08:00
Keith Packard
7e457684ea
picolibc: Convert to companion library
...
This allows configurations to include picolibc without excluding
another C library.
Signed-off-by: Keith Packard <keithp@keithp.com>
2021-01-08 17:48:33 -08:00