hello everyone. I'm using mfc 5282 .When I use a math function like 'abs' or 'sqrt',there comes a link error.
my main.c file begins as below:
#include "src/init/m5282evb.h"
#include "src/init/mcf5282.h"//wsyy
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
the link error is:
Link Error : Undefined : "sqrt"
ask for your help. thank you
thanks very much. It seems that I have solved this problem.
I add the file C_4i_CF_MSL.a to my project. then i can use the math functions.
I also chek file Vx.x\ColdFire_Support\msl\MSL_C\MSL_ColdFire\Include\ansi_prefix.CF.size.h
the content in it is totally different from the one you showed. so I didn't modify it.
would you please tell me the opration of file C_4i_CF_MSL.a
thank you