I still have not solved my problem:
What I understand is, that in the first error the compiler does not find
the file "features.h"
Indeed, the only file I can find with that name houses in
"./devboard-R2_01/apps/ppp-2.4-R2_0_5/NeXT/mach/features.h" under /home/fox.
There is also a "/usr/local/cris-axis-linux-gnu/sys-include/features.h"
I guess the latter is the one that should be found.
What I do not know - I know a bit too less about gcc - is where and how
does cris-axis manage the include search path???
Any help for the next step welcome.
Rolf
Here are the top lines of error messages from compiline helloworld.c
[EMAIL PROTECTED]:/home/fox/devboard-R2_01$ . init_env
Prepending "/home/fox/devboard-R2_01/tools/build/bin" to PATH.
Prepending "/usr/local/cris/bin" to PATH.
[EMAIL PROTECTED]:/home/fox/devboard-R2_01$ cd apps/helloworld/
[EMAIL PROTECTED]:/home/fox/devboard-R2_01/apps/helloworld$ make
gcc_cris -mlinux -mno-mul-bug-workaround
-muclibc=/home/fox/devboard-R2_01/target/cris-axis-linux-gnuuclibc -Wall
-Wshadow -O2 -g -c -o helloworld.o helloworld.c
In file included from helloworld.c:1:
/usr/local/cris/lib/gcc-lib/cris-axis-linux-gnu/3.2.1/include/stdio.h:36:23:
features.h: No such file or directory
In file included from
/usr/local/cris/lib/gcc-lib/cris-axis-linux-gnu/3.2.1/include/stdio.h:42,
from helloworld.c:1:
/usr/local/cris/lib/gcc-lib/cris-axis-linux-gnu/3.2.1/include/stddef.h:201:
syntax error before "typedef"
/usr/local/cris/lib/gcc-lib/cris-axis-linux-gnu/3.2.1/include/stdio.h:44:25:
bits/types.h: No such file or directory
/usr/local/cris/lib/gcc-lib/cris-axis-linux-gnu/3.2.1/include/stdio.h:73:19:
libio.h: No such file or directory
In file included from helloworld.c:1:
/usr/local/cris/lib/gcc-lib/cris-axis-linux-gnu/3.2.1/include/stdio.h:88:
parse error before "fpos_t"
/usr/local/cris/lib/gcc-lib/cris-axis-linux-gnu/3.2.1/include/stdio.h:137:28:
bits/stdio_lim.h: No such file or directory
/usr/local/cris/lib/gcc-lib/cris-axis-linux-gnu/3.2.1/include/stdio.h:150:
parse error before "__THROW"
/usr/local/cris/lib/gcc-lib/cris-axis-linux-gnu/3.2.1/include/stdio.h:152:
parse error before "__THROW"
John Crispin wrote:
>
> run ls -la in the folder of the hello world code and paste the output
> please
>
> Quoting schumacher_rolf <[EMAIL PROTECTED]
> <mailto:mailinglist%40august.de>>:
>
>