I have a .s file which needs to be preprocessed before compiling it using GCC. Can anyone help me?
我有一个.s文件需要在使用GCC编译之前进行预处理。谁能帮我?
1 个解决方案
#1
The easiest way is to rename the file to be .S
instead of .s
-- the .s
extension mean assembler without preprocessing while .S
means assembly with preprocessing.
最简单的方法是将文件重命名为.S而不是.s - .s扩展名表示汇编程序而不进行预处理,而.S表示使用预处理进行汇编。
#1
The easiest way is to rename the file to be .S
instead of .s
-- the .s
extension mean assembler without preprocessing while .S
means assembly with preprocessing.
最简单的方法是将文件重命名为.S而不是.s - .s扩展名表示汇编程序而不进行预处理,而.S表示使用预处理进行汇编。