gcc: jak zjistit dostupne march
Petr Soucek
petr na ryston.cz
Pondělí Duben 16 23:43:07 CEST 2001
Michal Kaspar wrote:
>
> No v info gcc k tomu neco malo je, ale rekl bych, ze to neni uplne
> nejaktualnejsi:
>
> `-mcpu=CPU TYPE'
> Assume the defaults for the machine type CPU TYPE when scheduling
> instructions. The choices for CPU TYPE are:
>
> `i386' `i486' `i586' `i686'
> `pentium' `pentiumpro' `k6'
>
> -march=CPU TYPE'
> Generate instructions for the machine type CPU TYPE. The choices
> for CPU TYPE are the same as for `-mcpu'. Moreover, specifying
> `-march=CPU TYPE' implies `-mcpu=CPU TYPE'.
>
No to by me pak zajimalo, proc je v rpm pro architekturu 386:
%optflags -O2 -march=i386 -mcpu=i686
Petr Soucek
Další informace o konferenci Linux