On Fri, Jul 18, 2008 at 08:53:01AM -0600, Lance Spaulding wrote:
> Markus Franke wrote:
> > Hi Jun,
> >
> > Jun Sun schrieb:
> > > This might be a dumb question, but have we considered moving to gcc4.x
> > > for uclinux? Any pro's and con's? What would be the effort to do so?
> >
> > Well, I am successfully using Codesourcery's toolchain to build
> > uClinux for Coldfire (m68knommu) target. The gcc is based on gcc-4.1.2
> > if I remember correctly.
> >
> > Best regards,
> > Markus
> As another option, I use toolchains built with crosstool
> (http://ymorin.is-a-geek.org/dokuwiki/projects/crosstool).  This
> requires a few minor changes to the dist to use the libraries
> (glibc/uClibc) from the toolchain instead of building them within the
> dist. 
> 
> Pros:
>   - latest versions, more  features supported (NPTL, ARM V7 support (in
> gcc 4.3), EABI, etc), numerous defect-fixes
>   - faster build time (doesn't build glibc or uClibc during the dist build)
>  
> Cons:
>   - no multilib support (you'll need two toolchains if you build for
> both hard and soft float targets)
>   - not sure if non-MMU targets are supported (I only use MMU-enabled
> targets so I've never tried).
> 
> Anyway these toolchains are working well for us on both x86 & ARM (using
> glibc in both cases).
>

Great info. Thanks, Lance. 

Regarding MMU-less CPU support, I would think there shouldn't be anything
related to gcc.  Should there?

My CPU is ARM7TDMI, mmu-less. I would think the CPU support should be
stable in all cases.

What I do care are:

1) painless integration with uCLinux dist
2) efficient (and convenient) generation of softfloat userland
3) Any generic optimization there may be in the latest toolchains

So the holly grail of this series of questions is : which toolchain
would you recommand for uCLinux on a MMU-less FPU-less ARM7TDMI? :)

So far I gathered the following candidates. The picture is still a little
unclear at this point.

* codesourcery
* crosstool
* build from the gnu source

Cheers.

Jun
_______________________________________________
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

Reply via email to