On 12 March 2018 at 11:34, Arno Steffens <s...@gmx.li> wrote:
> You are right, the bits/fcntl-32.h at the very end has a
> #include <bits/fcntl-linux.h>
> But, all lines in <bits/fcntl.h> are greyed (not active), except these I
> noted as bold (below). So it not become active.
> I would assume __arm__ should be set by someone.
> It seems it is not a problem for the compiler, but for the Eclipse viewer
> to show the code.
> That is the problem here. I try to set ARCH=arm at various places in
> eclipse. but id doesn't have an effect.
gcc will be setting that. If Eclipse is doing something wrong, then blame
gcc -dM -E - < /dev/null will list the preprocessor symbols that are
yocto mailing list