[En-Nut-Discussion] Compiler paths

Henrik Maier hmnews at proconx.com
Thu Apr 10 13:22:44 CEST 2014

Hi Holger,

On 10/04/2014 7:52 PM, Holger Mai, GEMAC wrote:
> Hello all
> if i use GNU Tools Arm embedded 4.8 as toolchain, this ontents a subdirecory
> "Sys" that contents partially files with the same names as in the
> nut/include/sys subdir. So if i include <sys/file.h> in a project, eclipse and
> the compiler uses the wrong file.h from the toolchain. In the Project options,
> Paths are in right order (Nut Paths first). Anyone idea how to fix this?

gcc treats system header files special. You may want to add -nostdinc to 
you compiler options to avoid referencing any includes from the GNU arm 

More info here:




More information about the En-Nut-Discussion mailing list