This is the mail archive of the gcc-help@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: GCC default targets on sparc


On Tuesday 2009-12-22 14:58, BERTRAND Joel wrote:
> Jan Engelhardt a Ãcrit :
>> Hi,
>>
>>
>> When gcc is ./configured with -mcpu=ultrasparc, it emits -m64 objects by
>> default, when it's with -mcpu=v8, it emits V8 -m32 objects. How would
>> one configure it to emit V9 -m32 by default?
>
> 	I use -mv8plus or -mtune=niagara -mcpu=niagara and gcc creates 32 bits
> objects.

Oops. It should have read:

	./configure --with-cpu=ultrasparc

Not -mcpu or -mtune.

Jan


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