问题描述
我被困在一个问题。我一直使用gcc来编译/汇编我的C code了一会儿,就习惯采用Intel汇编语法。我生成汇编文件时使用的 -masm =英特尔
标记。
I am stuck at a problem. I've been using gcc to compile/assemble my C code for a while and got used to using Intel assembly syntax. I used the -masm=intel
flag when generating the assembly files.
近日然而,由于公司迁移,他们获得英特尔的ICC,声称它是更好。所以现在我需要使用ICC,但奇怪的是它的默认组件的语法,AT& T公司。我试图改变它,但它没有工作,所以我联系了英特尔的支持,他们也不知道,每个人给了我一个矛盾的答案。
Yet recently, due to company migrations, they obtained Intel's icc, claiming it is better. So now I need to use icc, but it was strange that it has the default assembly syntax as AT&T. I tried to change it but it didn't work, so I contacted Intel support and they also don't know and each person gave me a contradicting answer.
有没有让我用ICC的编译优势整合GCC和ICC的方式,而在同一时间编译Intel的语法用gcc?
Is there a way to integrate gcc and icc so that I use icc's compiling "superiority" while at the same time compiling to intel's syntax with gcc?
我使用Ubuntu的,并得到了国际刑事法院12.x版
I am using ubuntu and got the icc version 12.x
推荐答案
这标志?
-use_msasm Support Microsoft style assembly language insertion
using MASM style syntax and, if requested, output assem-
bly in MASM format
https://web.archive.org/web/20120728043315/http://amath.colorado.edu/computing/software/man/icc.html
这篇关于集成英特尔与海湾合作委员会ICC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!