Главная страница


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)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 Athlon и GCC   Andrey Semenuk   24 Mar 2003 02:26:11 
 Athlon и GCC   Igor Zubkov   27 Mar 2003 11:09:18 
 Re: Athlon и GCC   Valentin Nechayev   27 Mar 2003 23:20:48 
 Athlon и GCC   Andrey Semenuk   30 Mar 2003 02:02:29 
 Re: Athlon и GCC   Anton Kozhapenko   30 Mar 2003 13:55:26 
 Athlon и GCC   Andrey Semenuk   30 Mar 2003 15:25:14 
 Athlon и GCC   Sergey Sholokhov   31 Mar 2003 01:36:12 
 Re: Athlon и GCC   Michael Shigorin   01 Apr 2003 19:05:33 
Архивное /ru.linux/44903e7e36f3.html, оценка 3 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional