On Tue, 2005-04-05 at 10:45 -0600, Justin Conover wrote: > > And here's why: gcc3.3 and below accept different compile flags than gcc > > 3.4 and above. Specifically: > > > > gcc <= 3.3: use -mcpu= > > gcc >= 3.4: use -mtune= > > > > Neither gcc will accept the other option. And, since you're running on > > a system with gcc4 installed, the rpm OPTFLAGS macro contains -mtune. > > So you have to override CFLAGS as well as CC if you want things to > > continue to compile with gcc 3.2 and rpmbuild on a gcc4 system. > > > > Dan > > > > > Yep, that makes sence, mtune vs. mcpu. here is the easy question > > Why > > compat-gcc-32-3.2.3-47.fc4 > > and not/also 3.4 ? Because 3.4 is ABI compatible with gcc4. Anything that was built with gcc 3.4 should work with gcc4. 3.2 and 3.3 were ABI compatible, and therefore there is no compat-gcc-33 either, since compat-gcc-32-3.2.3 fulfills that role for 3.3 as well. Dan