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

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

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

1,243 Views
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?
Labels (1)
0 Kudos
1 Reply

180 Views
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 Kudos