diff options
author | Keith Packard <keithp@keithp.com> | 2020-08-16 12:37:45 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2020-09-01 09:42:53 -0700 |
commit | c15de32ec64e398a97430a244e7510ccf8600116 (patch) | |
tree | 97cc9dcc8c49cd896244604e03b5614831fc0351 /samples/arm-picolibc-eabi | |
parent | 4e5bc43627582b11f11ebc1cedcfd1016f39c60e (diff) | |
download | crosstool-ng-c15de32ec64e398a97430a244e7510ccf8600116.tar.gz crosstool-ng-c15de32ec64e398a97430a244e7510ccf8600116.tar.bz2 crosstool-ng-c15de32ec64e398a97430a244e7510ccf8600116.zip |
Add picolibc support [v2]
This adds support for using picolibc instead of newlib on embedded
systems.
Signed-off-by: Keith Packard <keithp@keithp.com>
v2:
Add check for meson and ninja
Sync option default values with current picolibc defaults
Remove xtensa sys header file install as those aren't in picolibc
Diffstat (limited to 'samples/arm-picolibc-eabi')
-rw-r--r-- | samples/arm-picolibc-eabi/crosstool.config | 12 | ||||
-rw-r--r-- | samples/arm-picolibc-eabi/reported.by | 3 |
2 files changed, 15 insertions, 0 deletions
diff --git a/samples/arm-picolibc-eabi/crosstool.config b/samples/arm-picolibc-eabi/crosstool.config new file mode 100644 index 00000000..7f7d42a1 --- /dev/null +++ b/samples/arm-picolibc-eabi/crosstool.config @@ -0,0 +1,12 @@ +CT_CONFIG_VERSION="3" +CT_ARCH_ARM=y +CT_MULTILIB=y +CT_ARCH_FLOAT_SW=y +CT_TARGET_VENDOR="picolibc" +CT_CC_LANG_CXX=n +CT_LIBC="picolibc" +CT_LIBC_NEWLIB=n +CT_LIBC_PICOLIBC=y +CT_CC_GCC_CONFIG_TLS=y +CT_TARGET_CFLAGS="-ftls-model=local-exec" +CT_CC_GCC_MULTILIB_LIST="rmprofile" diff --git a/samples/arm-picolibc-eabi/reported.by b/samples/arm-picolibc-eabi/reported.by new file mode 100644 index 00000000..b3bfb492 --- /dev/null +++ b/samples/arm-picolibc-eabi/reported.by @@ -0,0 +1,3 @@ +reporter_name="Keith Packard" +reporter_url="http://keithp.com/" +reporter_comment="Based on arm-unknown-eabi" |