Am Freitag, den 09.02.2007, 12:19 +0100 schrieb Wolf, Josef: > Erwin Authried wrote: > > > > > > Which architecture are you using ? Which tools ? > > > > > > I use lpc2292 (arm7tdmi) with arm-elf-tools-20040427 on a suse-10.1 > box. > > > > > > The first problems seem to be related to the build environment. > While > > > uClinux-dist-20051014 used CROSS_COMPILE=arm-elf- (which worked > > > perfectly with arm-elf-tools-20040427.sh), uClinux-dist-20070130 > uses > > > CROSS_COMPILE=arm-linux- by default. I tried to fix this by > > > > > > --- > uClinux-dist-20070130.orig/vendors/config/armnommu/config.arch > 2006-07-31 01:24:35.000000000 +0200 > > > +++ uClinux-dist-20070130/vendors/config/armnommu/config.arch > 2007-02-07 17:14:07.000000000 +0100 > > > @@ -61,7 +61,7 @@ > > > ARCH = armnommu > > > endif > > > ENDIAN ?= little > > > -CROSS_COMPILE = arm-linux- > > > +CROSS_COMPILE = arm-elf- > > > CROSS = $(CROSS_COMPILE) > > > CONFIGURE_HOST = arm-linux > > Hi Josef, > > yes, this adjustment may be necessary depending on the toolchain that > > you use. For the 2.4 kernel, it may still be necessary to use the good > > old 20030314 toolchain, because of some syntactical problems > > with recent compilers. > > So it's probably best to stick with the old toolchain for now? > With gcc-3.4.x or higher, there may be some minor patches required for some architectures, especially in the asm source parts. With the old toolchain, you should be able to build without any tweaking. Of course, the later gcc's are optimizing better, and the codesize will be reduced.
-Erwin _______________________________________________ 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
