Go to file
Anas Nashif ef2fc59cab fixed inclusion of limits.h when building with newlib
The -nostdinc flag to GCC makes it not include its own directories when
searching headers, which means they need to be added manually. The same
Makefile line (~657) that adds the -nostdinc is also adding the correct path
for the gcc used to build, using the "-print-file-name=include" switch to get
the correct path for the respective gcc version.

The problem is that including limits.h from newlib will try to include gcc's
version too, which in every toolchain the SDK provides (and at least on my
machine, the same thing applies for the system gcc), limits.h is found under
gcc's "include-fixed" directory, not just include. So another -isystem should
be added with the value from "-print-file-name=include-fixed".

Jira: ZEP-142
Credits: Iván Briano
Change-Id: I33b7d9808d000a7346df4f88df92dc76e31fb2dc
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-04-19 01:14:39 +00:00
arch new SoC naming convention 2016-04-18 21:24:59 +00:00
boards kinetis: reorganise soc directory using soc family 2016-04-18 21:24:58 +00:00
doc doc: collaboration: code: gerrit commit message JIRA key 2016-04-18 20:25:40 +00:00
drivers kinetis: reorganise soc directory using soc family 2016-04-18 21:24:58 +00:00
include stm32: rename SOC_STM32F1X -> SOC_SERIES_STM32F1X 2016-04-18 21:24:58 +00:00
kernel device_get_binding() returns NULL if driver_api is not set 2016-04-12 19:30:35 +08:00
lib libc: add strncat() to minimal libc 2016-04-16 05:29:21 +00:00
misc x86/debug: GDB server needs to handle some exceptions 2016-04-16 05:29:22 +00:00
net net: rdc: Debug print missing \n in simplerdc plugin 2016-04-18 13:42:44 +00:00
samples net:apps: zperf application 2016-04-18 06:07:02 +00:00
scripts checkpatch: warn on COMPLEX_MACRO and MULTISTATEMENT_MACRO_USE_DO_WHILE 2016-04-19 01:14:39 +00:00
tests kinetis: reorganise soc directory using soc family 2016-04-18 21:24:58 +00:00
.checkpatch.conf
.gitattributes
.gitignore gitignore: Fix doxygen generated directory names 2016-04-15 22:06:42 +00:00
.gitreview Add a .gitreview file 2016-02-20 14:25:01 +00:00
.mailmap
Kbuild remove already resolved GENOFFSET_H dependency 2016-02-05 20:25:16 -05:00
Kconfig kconfig: Do not put architecture in the title 2016-03-14 16:50:51 -04:00
Kconfig.zephyr kconfig: untangle ordering and dependencies 2016-03-26 20:36:32 -04:00
LICENSE
Makefile fixed inclusion of limits.h when building with newlib 2016-04-19 01:14:39 +00:00
Makefile.inc build: support multiple defconfigs per board 2016-03-14 20:54:08 +00:00
zephyr-env.sh zephyr-env.sh: Add a note to indicate the required version of zsh 2016-03-18 22:01:19 +00:00