bad arch name "-march=x86_64"

bad arch name "-march=x86_64"

Vianney Lecroart   lecroart at nevrax.com 
Tue Dec 30 19:59:27 CET 2003


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?





More information about the discuss mailing list
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值