您的位置:首页 > 其它

bad arch name "-march=x86_64"

2013-12-24 10:51 363 查看

bad arch name "-march=x86_64"

Vianney Lecroart lecroart
at nevrax.com

Tue Dec 30 19:59:27 CET 2003

Previous message: [discuss] Seeking x86-64 assembler experts advice on a performance vs. effort estimation
Next message: [discuss] bad arch name "-march=x86_64"
Messages sorted by: [ date ] [ thread ] [
subject ] [ author ]

Hello,

I just get a fresh red hat distribution with my opteron, and I have some
problem during ./configure of my project. The result is:

"configure:2567: error: C compiler cannot create executables"

in fact, it's because the gcc doesn't know the arch and cpu type
"x86_64"

$ gcc -pipe -ftemplate-depth-24 -march=x86_64 test.c

cc1plus: bad value (x86_64) for -march= switch
cc1plus: bad value (x86_64) for -mcpu= switch

but '/bin/arch' returns x86_64

What should I do?

$uname -a

Linux Ryzom 2.4.20-9.2smp #1 SMP Thu Apr 10 11:54:33 EDT 2003 x86_64
x86_64 x86_64 GNU/Linux

$gcc --version

gcc (GCC) 3.2.2 20030313 (Red Hat Linux 3.2.2-10)

Vianney Lecroart
---
lead network programmer / nevrax.com
icq#: 6870415
homepage: http://ace.planet-d.net
www.geekcode.com: GCS/E d- s+++: a- C+++$UL++ P- L+++>+$ E+>- W++ N+ o?
K- w++$ O- M- V- PS- PE? Y PGP t 5? X+ R- tv++ b- DI D+ G e++ h-- r y?


Previous message: [discuss] Seeking x86-64 assembler experts advice on a performance vs. effort estimation
Next message: [discuss] bad arch name "-march=x86_64"
Messages sorted by: [ date ] [ thread ] [
subject ] [ author ]

More information about the discuss mailing list
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: