Codewarrior version 3.2.1 macro _CW_X_SLLD_ related problem + for 64bit divsion

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Codewarrior version 3.2.1 macro _CW_X_SLLD_ related problem + for 64bit divsion

1,566 次查看
puru
Contributor I
Hi ,

Currently i m using codevarrior version 3.2.1. In which i m using 64 bit operation for that i placed -slld option in passthrough (To shell ) section of project setting .

but by doing so i m facing problem in sqrt function .

because CW_X_SLL macro is not enable in rtlib library c file .
but if i will include those file in my project then this macro will be enabled.

It is not possible to include all rtlib files in my project, can any body suggest how can I overcome such problem?
标签 (1)
0 项奖励
回复
1 回复

503 次查看
CrasyCat
Specialist III
Hello
 
In order to enable operation on 64-bit data, can you please check the box "64-Bit Data Type support (long long and double)" in the "C Language" panel.
This should change the library linked to your application and enable the appropriate sqrt function.
You should also remove th e-slld option from the passthrough section of project settings.
 
If this s not help can you check in the .map file generated by the linker which is the run time library linked to your project.
 
CrasyCat
0 项奖励
回复