BTW - The RH 8.0 GCC 'as shipped' default target CPU for Intel x86 machines is i386 and according to the docs. this is used only as an optimization 'hint' for the compiler, which is why I want to change it so that it produces better code for my P4 (and about 95% of the Intel boxes still running out there - I mean, when did they quit putting i386 chips in PC's - 1993 or so?).
This can actually make a pretty good size difference in performance according to what I've seen and read elsewhere. Anyone know why Red Hat chooses an increasingly obscure CPU as the lowest common denominator for their default Intel GCC installation, especially since this setting basically just "tunes" the code for a given Intel processor, and _doesn't_ cause exclusive opcode extensions to be used? The default GCC installations for both SuSE and Mandrake use i686 (PPro and greater) as their 'LCD' Intel tuning hint, so why doesn't RH? Heck, I want my money's worth out of my hardware and don't want to have to hack makefiles, use aliases or otherwise alter the rest of the environment for every source I compile, so if the GCC docs. are correct, an i386 default as a tuning hint seems silly to me... "Thu-Thump" (off the soapbox). - Dave ----- Original Message ----- From: "Dave" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 22, 2002 3:02 PM Subject: Changing the default target CPU for the redhat GCC installation on RH8.0. How would I go about doing this? I've tried downloading the 3.2 source and re-building it after modifying the configure args., but there seems to be either an incompatability with either /make/ /3.79.1/ or one of the RH 8.0 libraries that won't allow /make bootstrap/ to finish, even if I configure it as shipped for RH 8.0. I've also tried modifying the parts of the //usr/lib/gcc-lib/i386-redhat-linux/3.2/specs/ file that seems to make the most sense, but that doesn't effect the gcc config. at all (as if the config. is compiled into the gcc runtime somewhere rather than being dynamic via the /specs/ file). Is there a way to do this after installing the default development tools as part of the install, or do I have to rip everything out and rebuild what I want manually? Thanks, Dave -- redhat-list mailing list unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list