Bootstraping gcc-4.6.1 with Sun Studio on Solaris 9

Maciej Bliziński maciej@opencsw.org
Wed Aug 17 09:01:00 GMT 2011


2011/8/15 Marc Glisse <marc.glisse@inria.fr>:
>>> You would still need CFLAGS_FOR_TARGET I guess. Doesn't configuring with
>>> --with-arch=v8 or --with-arch-32=v8 work?
>>
>> Compilation breaks with:
>>
>> This target does not support --with-arch.
>> Valid --with options are: cpu float tune
>
> Right, on sparc you don't want -march=v8 but -mcpu=v8, so that would be
> --with-cpu=v8 (or --with-cpu-32=v8, not sure which).

I tried with --with-cpu-32=v8 and got:

checking if mkdir takes one argument... no
This target does not support --with-cpu_32.
Valid --with options are: cpu float tune
gmake[4]: *** [configure-stage1-gcc] Error 1

Is it an expected behavior?

I can try passing --with-cpu=v8.  However, this setting is not valid
for the 64-bit builds of shared libraries, so I'll see how it goes.

Maciej



More information about the Gcc-help mailing list