Greg Ungerer wrote:
> Wolf, Josef wrote:
> > I'm trying to upgrade from uClinux-dist-20051014 to
> > uClinux-dist-20070130. For this, I had to change the toolchain to
> > 
> >
http://ftp.snapgear.org/pub/snapgear/tools/arm-linux/arm-linux-tools-200
61213.tar.gz
> > 
> > To get a clean build, I had to make some changes (I have the patch
> 
> I use that tool chain, and with uClinux-dist-20070130 I can
> build GDB/ARMulator with no problems.
> 
> What target are you building for?

http://www.embeddedartists.com/products/uclinux/ucl_proto_small.php

This board is not supported yet by the official uclinux distribution,
but I tried to keep board specific changes separate.

> > attached, can somebody apply it to CVS?).  This is what the patch
> > does:
> > 
> >  - replace deprecated -mshort-load-bytes by -malignment-traps
> 
>  From patch:
> [ ... ]
> The purpose of the check as it was is to use either
> -mshort-load-bytes (for older compilers) or -malignment-traps for
> newer compilers.
> 
> So, for some reason it is not working for you. Can you check back
> through the "check_gcc" shell script in this Makefile and try and
> determine why this doesn't work right for you?
> 
> (Are you even using this in the arch/arm branch?
> I assumed you probably where only compiling for non-MMU?)

Oups, my search-and-replace was a bit too aggressive.  You're right, the
arm directory should not be touched.  And for the armnommu directory, it
would probably be cleaner to use check_gcc instead of simply replacing
the option.

> [ -no-fpu in uClinux-dist-20070130/linux-2.4.x/arch/armnommu/Makefile
]
> [ ... ]
> Uhh, this doesn't appear in this Makefile in 20070130.
> Have you mixed up your diffs/patches somehow?

I have removed the kernel from 20070130, unpacked vanilla 2.4.32 and
applied the uc0-patch for 2.4.32.  Since I've done this with the old
release, I did not expect problems with this.

> >  - remove -mno-fpu (not supported by new toolchain)
> 
> Again perhaps you have mixed up your patches/diffs?
> The use of -mno-fpu has been removed for ARM targets from 20070130.

But it is still in vanilla+uc0, isn't it?
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to