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).

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