AnsweredAssumed Answered

Linker error undefined _start

Question asked by Stefan Bohne on May 26, 2010
Latest reply on May 27, 2010 by CrasyCat

I'm trying to compile a simple c program (void main() {}) on the command line (CodeWarrior for Microcontrollers V6.3) and get the following error:

 

"c:\Programme\Freescale\CodeWarrior for Microcontrollers V6.3\ColdFire_Tools\Command_Line_Tools\mwccmcf.exe" main.c### mwldmcf.exe Linker Error:#   Undefined : "_start"Errors caused tool to abort.### mwccmcf Driver Error:#   linker 'C:\Programme\Freescale\CodeWarrior for Microcontrollers#   V6.3\ColdFire_Tools\Command_Line_Tools\mwldmcf.exe' returned with exit#   code 1Errors caused tool to abort.

 

How do I point the linker to the startup code? And why doesn't it use the default? Or is it maybe an underscore problem?

 

 

Thanks in advance,

Stefan

Outcomes