This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, rs6000]: reject -m64 and -m32 simultaneously


Geoff Keating wrote:
> 
> On 26/11/2007, at 3:13 PM, Jakub Jelinek wrote:
> 
>> On Tue, Nov 27, 2007 at 10:03:02AM +1100, Ben Elliston wrote:
>>> 2007-11-27  Sa Liu  <saliu@de.ibm.com>
>>>
>>>        * config/rs6000/sysv4.h (CC1_SPEC): Display an error message if
>>>        -m32 and -m64 are given simultaneously.
>>
>> Isn't the i386.opt way much better?
>> For the m64 and m32 options add in addition to the already present
>> RejectNegative also Negative(m32) resp. Negative(m64) to the sysv4.opt
>> file.
> 
> I think we do have a rule that every option should be overrideable
> later.  I can certainly see someone creating a shell script that does
> 'cc -m64' and later wanting to add with -m32.

I think we have that rule too, or at least I think we should have it.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]