qq_21126401 2017-05-27 08:43 采纳率: 0%
浏览 2839
已结题

大神看过来啊~如何让codewarrior生成.o文件

codewarrior版本是5.9.0
如果让代码每次编译默认输出.o或者.obj文件

本人在C/C++ language中 IPA选择 Program是输出了obj文件,但是删除.c文件包含此obj文件时,就不允许在IPA选择Program模式了(编译不通过)。而且调回到IPA off模式下,包含.c和包含.o两者输出的.mot文件略有区别。

本人看了一点Power Architecture Bulid Tools 文档,知道有一个command-line,看了半天稀里糊涂,在哪里输入命令行啊?看到一段这样写:
Using IPA mode from command-line tools is more complicated.
Use the off or function arguments to turn interprocedural analysis off. This is
the default setting.
Use the file argument to apply interprocedural analysis at the file level. For
example, if the name of the compiler is mwcc, this command:
mwcc -ipa file -c file1.c file2.c

不知道怎么用,怎么使用命令行工具~~~

恳求大神帮帮忙~~~~~~~
谢谢~~~~~~

  • 写回答

1条回答 默认 最新

  • 白萝卜。 2017-05-27 08:48
    关注

    api大致意思是想生成中间文件分析的话用的命令是:编译器的命令 -ipa file -c file1.c file2.c,比如gcc编译器的话就是gcc -ipa file -c file1.c file2.c,你用的应该也是gcc吧?

    评论

报告相同问题?

悬赏问题

  • ¥15 ubuntu子系统密码忘记
  • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 matlab求解平差
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料
  • ¥15 使用R语言marginaleffects包进行边际效应图绘制
  • ¥20 usb设备兼容性问题
  • ¥15 错误(10048): “调用exui内部功能”库命令的参数“参数4”不能接受空数据。怎么解决啊
  • ¥15 安装svn网络有问题怎么办