Writing makefile to use instead of IDE. Use IDE and makefile to build project and am using a diff to compare the *.xMAP's, and am finding the following problems.
1. Having problem getting IDE to reveal the exact parameters it uses to call compiler and linker.
2. Found "inline" in IDE and mwcc56800e.exe work different. IDE does not inline some routines. Changed makefile to use "-inline off" and got more differences. Had to add "inline" to some routines to get the IDE and makefile to match.
3. mwld56800.exe is showing ctype.h functions in some modules. IDE does not. of course this causes diff of *.xMAP to go crazy because lines do not match after an extra line in the makefile *.xMAP
Terry
Also the IDE vs mwcc56800e.exe generates different code and calls different entry points in
artdivs32uz.o, I have not determined a solution for this, looking at the assemble outputs the code
generator appears to be different.
Also can not get IDE and mwcc56800e.exe to generate assembly listings that are close, mwcc56800e.exe
will not add code into the assembly output.
Terry
Hi,
A project in IDE contains some configuration used to build your application.
Depending of this config the library and runtime function used could be different.
To generate the assembly listings file you must:
- IDE: Project Settings under CodeGeneration ¦ ELF Disassembler select Show Source Code.
with the popup menu select Disassemble. The tool will generate the file.
- mwcc56800e.exe:
the option -S generates the diassembly file. However this will not include the source code.
To continue to investigate the problem I recommend you to log it directly in the Technical support system.
Please use Freescale on line support web page.
- Go to following URL: http://www.freescale.com/TechSupport
- Click on Submit a Service Request. You will come to a login page.
- You can submit your request through the web from there.
Regards
Pascal