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.
C:\work\linux-3.14.39-ti-r61>mingw32-make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- bb.org_defconfig
scripts/basic/fixdep.c:108:22: fatal error: sys/mman.h: No such file or directory
scripts/Makefile.host:118: recipe for target ‘scripts/basic/fixdep’ failed
mingw32-make: *** [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?