Hi Community, I am student and new to linux and gcc. I have the job to find a toolchain for compiling Linux for beaglebone black from Windows x64 host. Cygwin is excluded from my options. Therefore I installed the linaro gcc toolchain for Windows (gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_win32) from http://releases.linaro.org/14.04/components/toolchain/binaries/ and MinGW64. So far some compilation of helloWorld Code works.
Now I am trying to compile Linux kernel 3.14.39-ti-r61 <https://github.com/beagleboard/linux/commit/a1dc897ceaacda1e7cfb026fb5ec1ea91807b2cd> for BBB from https://github.com/beagleboard/linux an fail because sys/mman.h included from scripts/basic/fixdep.c is missing: C:\work\linux-3.14.39-ti-r61>mingw32-make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- bb.org_defconfig HOSTCC scripts/basic/fixdep scripts/basic/fixdep.c:108:22: fatal error: sys/mman.h: No such file or directory #include <sys/mman.h> ^ compilation terminated. scripts/Makefile.host:118: recipe for target 'scripts/basic/fixdep' failed mingw32-make[1]: *** [scripts/basic/fixdep] Error 1 Makefile:449: recipe for target 'scripts_basic' failed mingw32-make: *** [scripts_basic] Error 2 I expected the files where ready to compile. Does someone know where to get this file? Or is there something wrong with my toolchain? Best regards Mike -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
