Code Warrior for Coldfire V2 Floating Point Linker Errors

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Code Warrior for Coldfire V2 Floating Point Linker Errors

3,150件の閲覧回数
dvona
Contributor II
Greetings,
 
I am working with the MCF5213EVB and trying to use floating point (libraries, obviously because there is no FP unit in a V2).
 
When I try to do so, I get the following linker errors that I don't understand.
 
Undefined: "_d_flt"
Undefined: "_f_fgt"
Undefined: "_f_ftod"
 
The _f_fgt seems to indicate that I can't do a floating point greater than compare.  The other's I am not sure about.
 
Any thoughts or clues as to what is going on?  My understanding was that if you try to do floating point operations in a V2 Coldfire, code warrior would link in the floating point libraries, but if I can't do compares (greater than, leass than etc), I'm not sure if they are complete.
 
Regards,
_Dan
ラベル(1)
タグ(1)
0 件の賞賛
1 返信

920件の閲覧回数
CompilerGuru
NXP Employee
NXP Employee
Well, the compiler is calling some runtime routines to perform the floating point math, but the linker does not find those routines. The linker does not magically add libraries, you have to add the rigth ones to your project. Check the targeting Coldfire manual for how the library names are encoded.
0 件の賞賛