I've switched to the gcc34-x86-2004.2 profile to use gcc3.4.1-r2, which (finally) supports -march=pentium-m. Building gcc3.3 on this is interesting - gcc compiles, but then fails when it attempts to recompile itself, because (obviously) pentium-m is not a valid architecture. This can be easily solved by altering the ebuild to replace pentium-m with pentium4 (pentium3?) - but going forward, would it not be better to define, say, GCC295CFLAGS, GCC33CFLAGS, and GCC34CFLAGS (or similar) in make.conf - allowing the correct values to be chosen on a per-compiler basis. Any thoughts? Is this a valid enhancement?
Actually, scratch that - the eBuild isn't trivially modifiable afterall :( It does, of course, build fine by switching to gcc33 with gcc-config - but it'd still be nice to be able to do it from gcc34...
...