summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-01-11 02:17:21 (GMT)
committerGitHub <noreply@github.com>2017-01-11 02:17:21 (GMT)
commiteff79ab71433cfd2a9f40b4cb3de580f0e2de17f (patch)
treef52f000ba36d6d077a5cce1feb8d487f3c582c3b /samples
parent50aa6b583b89b2f4c031e581dda15051d1c2f721 (diff)
parent4532830f96e14ae40addc19ab7b1e20eeb602792 (diff)
Merge pull request #519 from InfernoEmbedded/newlib-enhancements
Newlib enhancements
Diffstat (limited to 'samples')
-rw-r--r--samples/arm-nano-eabi/crosstool.config28
-rw-r--r--samples/arm-nano-eabi/reported.by3
2 files changed, 31 insertions, 0 deletions
diff --git a/samples/arm-nano-eabi/crosstool.config b/samples/arm-nano-eabi/crosstool.config
new file mode 100644
index 0000000..697eef1
--- /dev/null
+++ b/samples/arm-nano-eabi/crosstool.config
@@ -0,0 +1,28 @@
+CT_LOCAL_TARBALLS_DIR="${HOME}/src"
+CT_SAVE_TARBALLS=y
+CT_LOG_EXTRA=y
+CT_ARCH_FLOAT_SW=y
+CT_ARCH_arm=y
+CT_LIBC_NEWLIB_IO_C99FMT=y
+CT_LIBC_NEWLIB_IO_LL=y
+CT_LIBC_NEWLIB_IO_FLOAT=n
+CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y
+CT_CC_LANG_CXX=y
+CT_LIBC_NEWLIB_IO_POS_ARGS=n
+CT_LIBC_NEWLIB_FVWRITE_IN_STREAMIO=n
+CT_LIBC_NEWLIB_UNBUF_STREAM_OPT=n
+CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION=n
+CT_LIBC_NEWLIB_REGISTER_FINI=n
+CT_LIBC_NEWLIB_ATEXIT_DYNAMIC_ALLOC=n
+CT_LIBC_NEWLIB_GLOBAL_ATEXIT=y
+CT_LIBC_NEWLIB_LITE_EXIT=y
+CT_LIBC_NEWLIB_REENT_SMALL=y
+CT_LIBC_NEWLIB_MULTITHREAD=n
+CT_LIBC_NEWLIB_EXTRA_SECTIONS=y
+CT_LIBC_NEWLIB_WIDE_ORIENT=n
+CT_LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE=y
+CT_LIBC_NEWLIB_NANO_MALLOC=y
+CT_LIBC_NEWLIB_NANO_FORMATTED_IO=y
+CT_LIBC_NEWLIB_LTO=y
+CT_MULTILIB=y
+
diff --git a/samples/arm-nano-eabi/reported.by b/samples/arm-nano-eabi/reported.by
new file mode 100644
index 0000000..f6f49a9
--- /dev/null
+++ b/samples/arm-nano-eabi/reported.by
@@ -0,0 +1,3 @@
+reporter_name="Alastair D'Silva"
+reporter_url="http://alastair.d-silva.org/"
+reporter_comment="Based on arm-unknown-eabi"