How to determine CW compiler/linker command-line options?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to determine CW compiler/linker command-line options?

3,187件の閲覧回数
RichTestardi
Senior Contributor II
Hi,
 
I'm transitioning from a CW GUI build process to a command-line build process, and would like to know what command-line options the CW GUI is currently invoking the compiler (mwccmcf.exe), linker (mwldmcf.exe), and assembler (mwasmmcf.exe) with.
 
Basically, I've set all the options how I want them in the CW GUI and would like to be able to make the command-line build process create identical bits.
 
Is there a way to see the command-lines the CW GUI is invoking when it does its builds?  I.e., how the CW GUI selections translate into command-line options...
 
I'm running CW7.1 on MCF52221 and MCF52233.
 
Thanks!
 
-- Rich
 
ラベル(1)
タグ(1)
0 件の賞賛
返信
2 返答(返信)

1,368件の閲覧回数
RichTestardi
Senior Contributor II
PS I'm familiar with the info in ColdFire_Build_Tools_Reference.pdf and that is how I have gotten as far as I have...  The issue there is that the mapping between CW GUI option and command-line option is not always 100% clear, and in many cases it is unclear what command-line option is "default", leaving me potentially needing to specify every single possible option...  So I'm hoping for a shortcut to give me a warm-fuzzy that I'm exactly duplicating the CW GUI build with my new command-line build.  Thanks!
0 件の賞賛
返信

1,368件の閲覧回数
CrasyCat
Specialist III
Hello
 
Unfortunately there is no way in CodeWarrior for Coldfire to display the command line actually created to build a source file.
 
You need to look at available options in command line tools (use option -help to see a list of available options) and  activate whatever options you need.
 
CrasyCat
0 件の賞賛
返信