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

cancel
Showing results for 
Search instead for 
Did you mean: 

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

1,890 Views
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
 
Labels (1)
0 Kudos
2 Replies

71 Views
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 Kudos

71 Views
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 Kudos