Change x86 default arch for 4.5?

Andrew Haley aph@redhat.com
Mon Feb 22 11:04:00 GMT 2010


On 02/22/2010 12:29 AM, Erik Trulsson wrote:
> On Sun, Feb 21, 2010 at 11:35:11PM +0000, Dave Korn wrote:
>> On 21/02/2010 22:42, Erik Trulsson wrote:
>>
>>> Yes, it does if the user is using binaries compiled by somebody else,
>>> and that somebody else did not explicitly specify any CPU-flags.
>>>
>>> I believe that is the situation when installing most
>>> Linux-distributions for example.
>>
>>   No, surely not.  The linux distributions use configure options
>> when they package their compilers to choose the default with-cpu
>> and with-arch options, and those are quite deliberately chosen
>> according to the binary standards of the distro.  It is hardly a
>> case of "somebody else did not explicitly specify" cpu flags; they
>> in fact explicitly specified them according to the system
>> requirements for the distro.  If your distro says it doesn't
>> support i386, this is *why*!
> 
> Are you sure of that?  Really sure?
> Some Linux distributions almost certainly do as you describe, but all
> of them?  I doubt it.

And I doubt otherwise.  Linux distros put a great deal of thought into
which machines they are targeting with their binary distributions.
And the existence of one tiny distro somewhere that doesn't would not
change that fact.

Andrew.



More information about the Gcc mailing list