Maclain Lobdell

Be sure to install CodeWarrior update for MQX 4.0.2 New Project Wizard - GCC compiler option

Discussion created by Maclain Lobdell Employee on Sep 16, 2013

The MQX New Project Wizard in CodeWarrior allows you to create new projects based on an example or empty template.  MQX and CodeWarrior now supports GCC compiler.  There is a problem that causes new GCC-based projects, created with MQX 4.0.2 + CodeWarrior 10.3 or 10.4 new project wizard, to fail to execute on the target.  Luckily, there is a simple fix.  Just install the latest CodeWarrior updates.  Go to Help...Check for Updates -or- Help...Install New Software.

See MQX release notes for details.

5.22 CodeWarrior 10.3 & 10.4 GCC compiler requires latest version of New Project Wizard

Linker problems may arise during the compilation of the projects created by the New Project Wizard in CodeWarrior 10.4 & 10.3 GCC. There are two kind of possible issues: the explicit linker errors or the incorrectly linked binary (starts but does not reach the main function).

To fix this issue, either update the New Project Wizard to the newest version (at least 1.1.1) by using the “Help/Install New Software…” menu, or change the command line pattern in the linker section of the project preferences to the following:

"${ARMSourceryDir}/${COMMAND}" -Xlinker --start-group ${INPUTS} -Xlinker --end-group