Redirected to gcc-help. Goel, Mudit (Mudit) writes: > I am trying to build a cross compiler for java to be used on > ppc-750. My host is a linux machine and the target is > Arteysn-Katana 3750 board with IBM 750 FX processors running on MV > Linux kernel 2.4 version. I am not sure if the cross compiler I get > would be useful for the target ? If yes then could you help me > resolve this error that I am getting ? If no is then is there a way > to build the java code into native code to be used on the target > without JVM( it takes away performance of the application )? > > Here is the build output : > > I am using demo-ppc750.sh file with GCC_LANG set to c,c++,java. > ------------ > > /home/eplguser/Mudit/crosstool-0.42/build/powerp > c-750-linux-gnu/gcc-4.1.0-glibc-2.3.5/gcc-4.1.0/libjava/prims.cc -fPIC > -DPIC -o .libs/prims.o > In file included from ./include/java-signal.h:17, > from > /home/eplguser/Mudit/crosstool-0.42/build/powerpc-750-linu > x-gnu/gcc-4.1.0-glibc-2.3.5/gcc-4.1.0/libjava/prims.cc:26: > /opt/crosstool/gcc-4.1.0-glibc-2.3.5/powerpc-750-linux-gnu/powerpc-750-linux > -gnu > /include/sys/syscall.h:32:27: error: bits/syscall.h: No such file or > directory You need to find out why bits/syscall.h is missing. It's often found in the glibc-headers package. You need to ask your GNU/Linux supplier where you can get this file. Andrew.