2012-12-08 112 views

回答

1

默认情况下,根据需要在两种模式之间切换,但-mthumb会覆盖它。 ARM的选项列表可以在这里找到:

http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html

+0

-mthumb --- >>这个应该在生成文件.. ???对于那些我们想用拇指模式编译的文件...... ???? – user1870619

+0

是的,你可能想这样的东西... http://stackoverflow.com/questions/1305665/how-to-compile-different-c-files-with-different-cflags-using-makefile。我不是一个真正的makefile人,我通常使用Eclipse和其他IDE。 – PeterJ