cygwin上编译uclinux出错,求助!
出错之前做的事情:1. 安装并进入cygwin
下载cygwin-1.5.19-for-skyeye.tar.bz2,解压并安装
2. 安装交叉编译器
下载arm-elf-20030314.sh 并执行
3. 编译uclinux
下载uClinux-dist-20070130.tar.bz2,解压
>cd uClinux-dist
>make meuconfig
vendor选GDB, product选skyeye, kernel选linux-2.4.x, arch选armnommu
vendors/config/common/config.arch 屏蔽掉第64行:CROSS_COMPILE = arm-linux-
>make dep
>make
出错!
$ make
...
make -C tools/ucfront
make: Entering directory `/usr/src/uClinux-dist/tools/ucfront'
make: Nothing to be done for `all'.
make: Leaving directory `/usr/src/uClinux-dist/tools/ucfront'
ln -sf /usr/src/uClinux-dist/tools/ucfront/ucfront tools/ucfront-gcc
ln -sf /usr/src/uClinux-dist/tools/ucfront/ucfront tools/ucfront-g++
ln -sf /usr/src/uClinux-dist/tools/ucfront/ucfront-ld tools/ucfront-ld
make ARCH=armnommu CROSS_COMPILE= -j6 -C linux-2.4.x|| exit 1
make: Entering directory `/usr/src/uClinux-dist/linux-2.4.x'
gcc -D__KERNEL__ -I/usr/src/uClinux-dist/linux-2.4.x/include-Wall -Wstrict-pro
totypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -f
no-builtin -D__linux__ -g -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdmi-msoft
-float -DKBUILD_BASENAME=main -c -o init/main.o init/main.c
cc1: error: invalid option `apcs-32'
init/main.c:1: error: bad value (armv4) for -march= switch
init/main.c:1: error: bad value (arm7tdmi) for -mtune= switch
. scripts/mkversion > .tmpversion
make: *** Error 1
make: *** Waiting for unfinished jobs....
make: *** Waiting for unfinished jobs....
make: Leaving directory `/usr/src/uClinux-dist/linux-2.4.x'
make: *** Error 1
福乐 我本来是想跑skyeye, 模拟s3c44b0x开发板.没想到第一步就困顿在这了 Read the document in the following URL to get information how to build uClinux under cygwin/windoes environment.
http://skyeye.wiki.sourceforge.net/uClinux#tocuClinux1
页:
[1]