Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: export/makefile/make-gcc-arm.tmpl
- Revision:
- 31:8ea194f6145b
- Child:
- 35:da9c89f8be7d
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/export/makefile/make-gcc-arm.tmpl Wed Jan 04 11:58:24 2017 -0600
@@ -0,0 +1,15 @@
+{% extends "makefile/Makefile.tmpl" %}
+
+{% block sys_libs %}
+{% for lib in ["-lstdc++", "-lsupc++", "-lm", "-lc", "-lgcc", "-lnosys"] -%}
+LD_SYS_LIBS += {{lib}}
+{% endfor %}
+{%- endblock %}
+
+{% block elf2bin %}
+ $(ELF2BIN) -O binary $< $@
+{%- endblock %}
+
+{% block elf2hex %}
+ $(ELF2BIN) -O ihex $< $@
+{%- endblock %}
