parason 发表于 2006-6-21 18:21:49

编译uclinux出错,救命啊!!!!

$ make
make -C tools/ucfront
make: Entering directory `/uClinux-dist/tools/ucfront'
make: `ucfront' is up to date.
make: Leaving directory `/uClinux-dist/tools/ucfront'
ln -sf /uClinux-dist/tools/ucfront/ucfront tools/ucfront-gcc
ln -sf /uClinux-dist/tools/ucfront/ucfront tools/ucfront-g++
make ARCH=armnommu CROSS_COMPILE=arm-elf- -C linux-2.4.x|| exit 1
make: Entering directory `/uClinux-dist/linux-2.4.x'
arm-elf-gcc -D__KERNEL__ -I/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 -mshort
-load-bytes -msoft-float   -DKBUILD_BASENAME=main -c -o init/main.o init/main.c
cc1: error: unrecognized command line option "-mapcs-32"
cc1: error: unrecognized command line option "-mshort-load-bytes"
make: *** Error 1
make: Leaving directory `/uClinux-dist/linux-2.4.x'
make: *** Error 1

我是在Cygwin中编译的,在网上搜了半天没有找到解决办法,头大!!

moliarm 发表于 2006-6-21 18:26:05

建议你换一个交叉编译器。
页: [1]
查看完整版本: 编译uclinux出错,救命啊!!!!