Ajay Thomas

How linking is done from command line?..

Discussion created by Ajay Thomas on May 22, 2007
Latest reply on May 24, 2007 by CrasyCat
 I am a new user of codewarrior. I am using Codewarrior v6.4 for Coldfire.Target is MCF5282. I need to to know what all steps are involved in doing linking from command line. What all environment variables need to be set? Which runtime libraries need to be added?
I have set the Env var MWCLibraries. What to add in MWLibraryFiles?
  I have tried to use:
       mwldmcf -g -map -proc  MCF5282 main.o E68k_startup.o C_4i_CF_Runtime.a C_TRK_4i_CF_SZ_MSL.a M52282 fp_coldfire.o M5282EVB_EXT_ROM.lcf M5282EVB_INT_ROM.lcf M5282EVB_RAM.lcf
But its giving Illegal 16-bit absolute adddress reference to symbol errors.
Please Help.