Re: Bootstraping gcc-4.6.1 with Sun Studio on Solaris 9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2011/8/15 Marc Glisse <marc.glisse@xxxxxxxx>:
>>> 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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux