This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Building GCC 4.8.2 on OS X fails


Hello everyone.

I am trying to build on OS X, but I am getting the following:

config.status: linking ../../../../gcc-4.8.2/libgcc/enable-execute-stack-mprotect.c to enable-execute-stack.c
config.status: linking ../../../../gcc-4.8.2/libgcc/unwind-generic.h to unwind.h
config.status: linking ../../../../gcc-4.8.2/libgcc/config/no-unwind.h to md-unwind-support.h
config.status: linking ../../../../gcc-4.8.2/libgcc/config/i386/sfp-machine.h to sfp-machine.h
config.status: linking ../../../../gcc-4.8.2/libgcc/gthr-posix.h to gthr-default.h
config.status: executing default commands
Adding multilib support to Makefile in ../../../../gcc-4.8.2/libgcc
with_multisubdir=i386
mkdir ../../.././gcc/i386
In file included from ../../../../gcc-4.8.2/libgcc/libgcc2.c:27:0:
../../../../gcc-4.8.2/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[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
Ingwie@Ingwies-Air ~/Downloads/gcc-4.8.2-build $ 

I configured using: ../gcc-4.8.2/configure --enable-lto --enable-ogjc-gc --enable-ld --prefix=/opt/GNUstep --enable-stage1-languages=all --with-gmp=/opt/GNUstep/include/ --with-mpfr=/usr/local/

What is the solution? I do not wish to modify the source files, but I have tried a lot of different environmental variables…nothing happened at all.

Kind regards,
Kevin Ingwersen

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]