On Sat, Jul 12, 2008 at 6:29 AM, Jun Sun <[EMAIL PROTECTED]> wrote: > On Sat, Jul 12, 2008 at 05:07:09PM +1000, David McCullough wrote: > > > > Jivin Jun Sun lays it down ... > > > > > > 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? > > > > Depending on the target, some of us already are using it. > > > > We definately build x86 and arm targets with 4.2.1 at the moment, no > > problems really, compiler is a bit pickier, but then we have fixed > > most packages to build ok in the latest dists. > > > > Which toolchain are you using? My understanding is that the latest > uclinux dist still uses gcc 3.4.
Your understanding is incomplete. I don't know which CPU you're using, but the tools for m68k have gcc-4.1.1 as the compiler. The other tool chains probably have something different. http://uclinux.org/pub/uClinux/m68k-elf-tools/tools-20061214/ > > > What are the pro's and con's of moving gcc 4? Cons: - Some stuff may not compile as-is. I haven't run into anything in the set that I'm building (at least it's not compiler related). - You have to change something. Most people are scared of this. Pros: + Better compiler optimizations (in most cases). +/- Better (or worse) compilation speed. My build only takes 3.5 minutes, so I can't quantify this part. + Support for newer CPUs, CPU specific optimizations. Older compiler may have to produce "compatible" binaries, not necessarily CPU optimized, but family optimized. > > > 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 > -- chris -at- microcozm -dot- net === Si Hoc Legere Scis Nimium Eruditionis Habes
_______________________________________________ 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
