1. I am usng Codewarrio2.8 and want to see the output window or better said : Log window to see the log of the compilation I did.
Where can I find it?
2. What does this error mean while compiling a source file ( a simple hello world routine ) ?
### mwasmeppc.exe Driver Warning:
# No file mapping matches 'Version.c' (unrecognized file contents or
# filename extension); treating as source text
Solved! Go to Solution.
Hi infoclog,
unfortunately as far as I know there is no automatic way how to translate the IDE project build tools command line options in CW v2.8.
Anyway I see two possible options:
1) create a list of the command line options manually. You can use AN4049 which includes IDE vs. cmd.line settings lookup tables.
http://cache.freescale.com/files/soft_dev_tools/doc/app_note/AN4094.pdf?fsrch=1&sr=1
or
2) try to import the CW IDE classic example project into CW for MCUs v10.1 and build the imported project (even if there are missing some files, errors etc.) and check the generated files .args which includes compiler/assembler/linker command line options.
Regarding the object file name: Could you try to use "-ext obj" as a compiler/assembler option? If it does not help could you post the make file?
Stanish
hello,I want to know the function of CW v2.8 project files which created using the wizard.can you help me? thanks.
The wizard project includes: source files (*.c,*.h) -> startup code, vector table, head files to define register address... LCF file(*.lcf) -> linker command file, to allocate memory for application libaries (*.a) -> MSL C libary and runtime library.
but there are many others files like below picture.I want to know the functions of all 17 files.thankyou
Hello
Apparently inside of your project there is no file mapping defined for files with extension .c.
How did you create your project?
Did you create it using the wizard?
I would recommend you to create a new project using the wizard. Make sure to create a project for "MPC55xx New Project Wizard". Do not use "Empty Project" except if you want to go into big troubles and you have plenty of time to loose..
Using the appropriate wizard should avoid such odd behavior.
CrasyCat
OK, i will create a new project using the wizard.
However, regarding my first question:
I am usng Codewarrio2.8 and want to see the output window to see the log of the compilation I did.
Where can I find it?
Can you please help me here too.
Hello
The Error & Warning windows opens automatically when you build an application if there is at least one error or warning in your program.
You can open it manually selecting View > Error and Warnings.
There is no real log window inside of CodeWarrior classic, that allows you to see compilation commands. CodeWarrior is not using a make file but an internal builder to perform the build.
During the build you will see a Build Progress window displaying the name of the file currently built and the number of files that have been built so far.
This window can be opened manually selecting View > Build Progress.
CrasyCat
I need to know the compiler options that code warrior is using during the complation of the source files.
I do not want to use the code warrior ide but my own tool to compile the files. Threfore i copied the compiler from the codewarrior bin folder into my tool folder.
mwasmeppc.exe
mwcceppc.exe
mwldeppc.exe
The comilation from the tool works and I can compile the source files but I want identical object files to be generated as written in the examples for MPC56XX. How can I achieve this?
One another question is:
I wrote a makefile which generates the object file named as .obj and not .o. Using the same makefile works absolutely fine when I am using a compiler from a different vendor. But when I use the freescale compilers it always generates .o instead of .obj. What could be here the compiler options to generate .obj file?
Hi infoclog,
unfortunately as far as I know there is no automatic way how to translate the IDE project build tools command line options in CW v2.8.
Anyway I see two possible options:
1) create a list of the command line options manually. You can use AN4049 which includes IDE vs. cmd.line settings lookup tables.
http://cache.freescale.com/files/soft_dev_tools/doc/app_note/AN4094.pdf?fsrch=1&sr=1
or
2) try to import the CW IDE classic example project into CW for MCUs v10.1 and build the imported project (even if there are missing some files, errors etc.) and check the generated files .args which includes compiler/assembler/linker command line options.
Regarding the object file name: Could you try to use "-ext obj" as a compiler/assembler option? If it does not help could you post the make file?
Stanish