long long int , lld in printf /sprintf is not working

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

long long int , lld in printf /sprintf is not working

1,268 次查看
karthigeyannata
Contributor III

Hi

We are using GCC compiler for vybrid processor. Using long long int data type in our code and trying to print value using "lld" in printf/sprintf.

It seems that it is not working....There seems to be endianess problem (32bit words are reversed)

Kindly advise how to overcome this issue

Thanks

karthi

0 项奖励
回复
2 回复数

1,022 次查看
timesyssupport
Senior Contributor II

Hello Karthi,

Can you provide some more details on the toolchain you are using? Who is providing it, or are you generating your own toolchain?

Are you using any build system to provide your rootfs/toolchain, as in Timesys or Yocto?

Regards,

Timesys Support

0 项奖励
回复

1,022 次查看
karina_valencia
NXP Apps Support
NXP Apps Support

timesyssupport are you available to help on this case?

0 项奖励
回复