Bob Johnson

Unable to use sprintf with CW for ColdFire v6.3 and MCF52223

Discussion created by Bob Johnson on May 23, 2007
Latest reply on May 23, 2007 by CompilerGuru
I am using a MCF52223 Demo Board with Code Warrior for Coldfire V6.3.
I am having some problems using the sprintf function. Initially I tried including the <stdio.h> library, and when doing this I got the link error that sprintf was undefined. After doing some reading I found the information that I should try including the C_TRK__2i_CF_MSL.a library or the C_TRK__4i_CF_MSL.a library. I tried this, then got 19 link errors such as "Undefined: __rt_add64 Referenced from __msl_generic_count_bits64" in C_TRK_2i_CF_MSL.a"
Any information would be much appreciated.

J2MEJediMaster added CW version and MCU type to header

Message Edited by J2MEJediMaster on 2007-05-25 11:08 AM