|
|
ru.linux- RU.LINUX --------------------------------------------------------------------- From : Andrey Semenuk 2:5030/920.102 24 Mar 2003 02:26:11 To : All Subject : Athlon и GCC --------------------------------------------------------------------------------
Hичего не понимаю. В info gcc ясно написано:
`-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', and `athlon'
_[skip]_
`-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'.
Hо почему тогда получается вот это:
cc -c -O3 -march=athlon -fpic -DFLINTSTONE -DLINUX -Wall -fwritable-strings
-I/usr/local/src/firebird-1.0.2.908/interbase/include -DPROD_BUILD array.c
cc1: bad value (athlon) for -march= switch
Блин.
andrey@pitkairn:/usr/local/src/firebird-1.0.2.908$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)
andrey@pitkairn:/usr/local/src/firebird-1.0.2.908$ gcc-3.0 -v
Reading specs from /usr/lib/gcc-lib/i386-linux/3.0.4/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,proto,objc --prefix=/usr --infodir=/share/info
--mandir=/share/man --enable-shared --with-gnu-as --with-gnu-ld
--with-system-zlib --enable-long-long --enable-nls --without-included-gettext
--disable-checking --enable-threads=posix --enable-java-gc=boehm
--with-cpp-install-dir=bin --enable-objc-gc i386-linux
Thread model: posix
gcc version 3.0.4
И с 2.95.4, и c 3.0.4 одна и та же фигня. Что я делаю не так? Откомпилю пока с
-march=k6
Andrey
--- GoldED+/LNX 1.1.4.7
* Origin: ICQ #30224451 (2:5030/920.102)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.linux/44903e7e36f3.html, оценка из 5, голосов 10
|