Compiling gcc-4.8.1 against glibc-2.17 and linux-3.10.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

While executing the following commands:

tar xvjpf ./linux-3.10.1.tar.bz2 && cd ./linux-3.10.1 && make O=/root/develop headers_install tar xvjpf ./glibc-2.17.tar.bz2 && mkdir ./glibc-build && cd ./glibc-build && ../glibc-2.17/configure --prefix=/root/develop && make && make install tar xvjpf ./gcc-4.8.1.tar.bz2 && mkdir ./gcc-build && cd ./gcc-build && ../gcc-4.8.1/configure --prefix=/root/develop --with-sysroot=/root/develop --enable-languages="c,c++" && make

I get compilation errors as shown in the attachment while trying to compile gcc-4.8.1.

Hope you can help,

Regards,
Mischa.


In file included from ../../../gcc-4.8.1/libgcc/libgcc2.c:27:0:
../../../gcc-4.8.1/libgcc/../gcc/tsystem.h:87:19: fatal error: stdio.h: No such file or directory
 #include <stdio.h>
                   ^
compilation terminated.
In file included from ../../../gcc-4.8.1/libgcc/libgcc2.c:27:0:
../../../gcc-4.8.1/libgcc/../gcc/tsystem.h:87:19: fatal error: stdio.h: No such file or directory
 #include <stdio.h>
                   ^
make[3]: *** [_muldi3.o] Error 1
make[3]: *** Waiting for unfinished jobs....
compilation terminated.
make[3]: *** [_negdi2.o] Error 1
In file included from ../../../gcc-4.8.1/libgcc/libgcc2.c:27:0:
../../../gcc-4.8.1/libgcc/../gcc/tsystem.h:87:19: fatal error: stdio.h: No such file or directory
 #include <stdio.h>
                   ^
compilation terminated.
make[3]: *** [_lshrdi3.o] Error 1
In file included from ../../../../gcc-4.8.1/libgcc/libgcc2.c:27:0:
../../../../gcc-4.8.1/libgcc/../gcc/tsystem.h:87:19: fatal error: stdio.h: No such file or directory
 #include <stdio.h>
                   ^
compilation terminated.
make[5]: *** [_muldi3.o] Error 1
make[5]: *** Waiting for unfinished jobs....
In file included from ../../../../gcc-4.8.1/libgcc/libgcc2.c:27:0:
../../../../gcc-4.8.1/libgcc/../gcc/tsystem.h:87:19: fatal error: stdio.h: No such file or directory
 #include <stdio.h>
                   ^
compilation terminated.
make[5]: *** [_lshrdi3.o] Error 1
In file included from ../../../../gcc-4.8.1/libgcc/libgcc2.c:27:0:
../../../../gcc-4.8.1/libgcc/../gcc/tsystem.h:87:19: fatal error: stdio.h: No such file or directory
 #include <stdio.h>
                   ^
compilation terminated.
make[5]: *** [_negdi2.o] Error 1
In file included from ../../../../gcc-4.8.1/libgcc/libgcc2.c:27:0:
../../../../gcc-4.8.1/libgcc/../gcc/tsystem.h:87:19: fatal error: stdio.h: No such file or directory
 #include <stdio.h>
                   ^
compilation terminated.
make[5]: *** [_ashldi3.o] Error 1
make[4]: *** [multi-do] Error 1
make[3]: *** [all-multi] Error 2
make[2]: *** [all-stage1-target-libgcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux