Hi, I am trying to run the gcc-4.4.5 testsuite with the credentials given below Host = x86_64-linux-gnu Build = x86_64-linux-gnu Target = powerpc-linux-gnu and with this script sudo runtest RUNTESTFLAGS="CFLAGS_FOR_TARGET=--sysroot=/opt/.../cdk/ppc/oea --target_board=powerpc-sim" --tool gcc --srcdir /home/gcc-test/gcc4.5/gcc-4.4.5/gcc/testsuite --tool_exec=/opt/.../cdk/ppc/oea/bin/ppc_oea-gcc target libraries directory = /opt/.../cdk/ppc/oea I also have sparc_v8-gcc and x86_i586-gcc executable i got these errors /home/gcc-test/gcc4.5/gcc-4.4.5/gcc/testsuite/gcc.c-torture/execute/builtins/fprintf.c:8:19: error: stdio.h: No such file or directory /home/gcc-test/gcc4.5/gcc-4.4.5/gcc/testsuite/gcc.c-torture/execute/builtins/fprintf.c:9: error: expected ')' before '*' token /home/gcc-test/gcc4.5/gcc-4.4.5/gcc/testsuite/gcc.c-torture/execute/builtins/fprintf.c: In function 'main_test': /home/gcc-test/gcc4.5/gcc-4.4.5/gcc/testsuite/gcc.c-torture/execute/builtins/fprintf.c:15: error: 'FILE' undeclared (first use in this function) /home/gcc-test/gcc4.5/gcc-4.4.5/gcc/testsuite/gcc.c-torture/execute/builtins/fprintf.c:15: error: (Each undeclared identifier is reported only once /home/gcc-test/gcc4.5/gcc-4.4.5/gcc/testsuite/gcc.c-torture/execute/builtins/fprintf.c:15: error: for each function it appears in.) /home/gcc-test/gcc4.5/gcc-4.4.5/gcc/testsuite/gcc.c-torture/execute/builtins/fprintf.c:15: error: 's_array' undeclared (first use in this function) Thanks & regards mappy On 10/29/14, Jonathan Wakely <jwakely.gcc@xxxxxxxxx> wrote: > On 28 October 2014 12:06, Manpreet Singh wrote: >> Hi, >> You are right its 32-bit assembler. I tried these 2 ways to configure >> >> Way 1 >> My configuration:- >> In my pc latest version of gcc-4.8 is install and i want to configure >> and run gcc testsuite for gcc-4.4.5 >> Ubuntu 14.04 >> Host = x86_64-linux-gnu >> Build = x86_64-linux-gnu >> Target = powerpc-linux-gnu > > You should have said you were building a cross-compiler. > > You can't test a powerpc compiler on x86_64 directly. Your x86_64 > machine can't run the powerpc executables. > > The https://gcc.gnu.org/wiki/Testing_GCC#Testing_with_a_simulator link > I've already given explains how to use a simulator, but I don't know > if that's possible for powerpc. You might have to test the compiler on > a powerpc machine. >