This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi there, (please CC me on replies since I'm not subscribed yet) I've been trying to set up the cross compiler tool chain for Mac OS X to be able to compile the Linux 2.6 kernel for i386 targets. I've started with setting all the toolchain (binutils/gcc) and got it built successfully, but compiling the linux kernel ended up in an error at the very beginning CHK include/linux/version.h CHK include/linux/utsrelease.h HOSTCC scripts/mod/mk_elfconfig In file included from scripts/mod/mk_elfconfig.c:1: /usr/local/include/stdio.h:5:27: error: libio/stdio.h: No such file or directory In file included from scripts/mod/mk_elfconfig.c:1: /usr/local/include/stdio.h:9: error: parse error before 'size_t' It's not the point though. I then decided to use crosstool as a more general solution, but it didn't help me either. After have issued "eval `cat i686.dat gcc-3.4.3-glibc-2.1.3.dat` sh all.sh --notest" I ended up with the following: ... skipped ... make ARCH=i386 oldconfig HOSTCC scripts/basic/fixdep In file included from scripts/basic/fixdep.c:97: /usr/local/include/sys/types.h:1:29: error: posix/sys/types.h: No such file or d In file included from scripts/basic/fixdep.c:98: /usr/local/include/sys/stat.h:2:25: error: io/sys/stat.h: No such file or direct In file included from scripts/basic/fixdep.c:98: /usr/local/include/sys/stat.h:8: error: parse error before '__mode_t' /usr/local/include/sys/stat.h:9: error: parse error before '__mode_t' ... skipped ... make[1]: *** [scripts/basic/fixdep] Error 1 make: *** [scripts_basic] Error 2 I've tried out few different than gcc-3.4.3-glibc-2.1.3.dat configurations, but with no success too. Any ideas what I have to tweak in order to get things worked? -kuvkir -- Make a wish, it might come true.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |