MCF5207 - Codewarrior and sprintf.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MCF5207 - Codewarrior and sprintf.

1,712 Views
Apumphrey
Contributor I
Hi,
 
  I have CodeWarrior version 6.3.  I am compiling C code for an MCF5207.  Everything was working fine until I tried to use sprintf.  I included <stdio.h>, and I get a bunch of linker errors that it can't find 64 bit math functions that are called from the library that contains sprintf.
 
  I have the floating point library, and the MSL C library that has 4i in the title in my project.  Is there something else I need to do to get this function to work?  I don't seem to have any kind of (long long) 64 bit support at all.  I saw another thread where someone had this problem with a different processor, but there was no answer.
 
  I appreciate any help.
 
        Thanks,
 
              Andy.


--
Alban Edit: Please always include FSL Part Number in Message Subject line.



Message Edited by Alban on 2007-09-07 02:59 PM
Labels (1)
0 Kudos
Reply
1 Reply

483 Views
CrasyCat
Specialist III
Hello
 
There should be something wrong in your project.
I have created a project from a stationery for MCF5207 and can use sprintf without any trouble.
 
I am using CodeWarrior for Coldfire V6.4 (I do not have a V6.3 installed on my host).
 
I would recommend you to submit a service request for that.

Click here to submit a service request.

Make sure to attach a reproducible project and installed product information to the service request.
To generate the required information:
- Start CodeWarrior
- Open the project
- Select "Help" -> "Pack and Go" and follow instructions on the screen.

Attach the generated .zip file to the SR.
 
CrasyCat
0 Kudos
Reply