On 2008-09-16, Grant Edwards <[EMAIL PROTECTED]> wrote:
> I'm attempting to follow the "getting started" article at
> http://www.ucdot.org/archive/tb/tb20020807.shtml. I'm trying
> to build uClinux-dist-20080808 for the xcopilot target using
> toolchain binaries from m68k-uclinux-tools-20061214.tar.bz2.
>
> None of the kernel versions will build.
I gave up on the xcopilot target, and decided to try to build
the Samsung S3C4510B target using arm-linux-tools-20070808.
There is no 2.6 or 2.0 configuration for the S3C4510, so I
tried to build 2.4. That fails:
$ make
which: no arm-linux-20070808-gcc in
(/opt/uclinux/bin:/home/grante/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i486-pc-linux-gnu/gcc-bin/4.1.2:/usr/kde/3.5/bin:/usr/qt/3/bin:/opt/gnu/bin)
which: no arm-linux-20061213-gcc in
(/opt/uclinux/bin:/home/grante/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i486-pc-linux-gnu/gcc-bin/4.1.2:/usr/kde/3.5/bin:/usr/qt/3/bin:/opt/gnu/bin)
make -C tools/ucfront
make[1]: Entering directory
`/home/grante/uclinux/uClinux-dist/tools/ucfront'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/grante/uclinux/uClinux-dist/tools/ucfront'
ln -sf /home/grante/uclinux/uClinux-dist/tools/ucfront/ucfront
tools/ucfront-gcc
ln -sf /home/grante/uclinux/uClinux-dist/tools/ucfront/ucfront
tools/ucfront-g++
ln -sf /home/grante/uclinux/uClinux-dist/tools/ucfront/ucfront-ld
tools/ucfront-ld
chmod +x tools/romfs-inst.sh tools/modules-alias.sh
. linux-2.4.x/.config; if [ "$CONFIG_INITRAMFS_SOURCE" != "" ]; then \
mkdir -p `dirname $CONFIG_INITRAMFS_SOURCE`; \
touch $CONFIG_INITRAMFS_SOURCE || exit 1; \
fi
make ARCH=armnommu CROSS_COMPILE=arm-linux- -j1 -C linux-2.4.x || exit 1
make[1]: Entering directory `/home/grante/uclinux/uClinux-dist/linux-2.4.x'
scripts/split-include include/linux/autoconf.h include/config
make[1]: Circular
/home/grante/uclinux/uClinux-dist/linux-2.4.x/include/asm/page.h <-
/home/grante/uclinux/uClinux-dist/linux-2.4.x/include/asm/arch/memory.h
dependency dropped.
arm-linux-gcc -D__KERNEL__
-I/home/grante/uclinux/uClinux-dist/linux-2.4.x/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fno-builtin-sprintf -Wno-pointer-sign -fno-common -pipe -fno-builtin
-D__linux__ -g -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdmi -malignment-traps
-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 "-malignment-traps"
make[1]: *** [init/main.o] Error 1
make[1]: Leaving directory `/home/grante/uclinux/uClinux-dist/linux-2.4.x'
make: *** [linux] Error 1
Is there a list somewhere of that targets that are supported by
uClinux-dist-20080808?
--
Grant
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev