gcc-2.95 broken on PPC?
Quoted 5 lines · A high white horse souse
I wouldn't switch to gcc-3.3 for now, the gcc mailing list looks like it has more problems and less features than the unstable bleeding edge gcc-3.4 CVS version. I am using gcc 3.2.2 for everything. I compiled my X, my libc, my kernel, my KDE. That is the first 3.x version that didn't produce incorrect code for any of these.
Thanks for the info. I feel a lot better about trying gcc-3.2.2 now. Does anyone know if it needs patches to produce a working kernel and glibc on sh4? gcc-3.0.4 needed a sizable patch on sh4, I seem to recall, but not on ppc.
Quoted 3 lines
The down side is that creating cross compilers from gcc 3.x is a lot harder unless you already have a cross compiled glibc from gcc 2.95.x in the proper paths.
Yep. I'm not looking forward to dealing with that. Shame the gcc team keeps making building cross compilers harder.
- Dan
Signature · 3 lines
Dan Kegel http://www.kegel.com http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045
Quoted 7 lines
Quoted 4 lines
The down side is that creating cross compilers from gcc 3.x is a lot harder unless you already have a cross compiled glibc from gcc 2.95.x in the proper paths.
Yep. I'm not looking forward to dealing with that. Shame the gcc team keeps making building cross compilers harder.
It isn't that hard to build a cross compiler straight from the 3.x sources; just takes an extra pass. I've had pretty good luck building m68k-linux and ppc-linux cross C/C++ compilers from the sources, all I needed to do was to build a boostrap C compiler that is used to build glibc, and then come back and build a full up C/C++ compiler. Check out the build script from Bill Gatliff's site:
<http://crossgcc.billgatliff.com/build-crossgcc.sh>
Signature · 2 lines
Peter Barada [email protected]