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

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

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

1,270件の閲覧回数
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,024件の閲覧回数
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,024件の閲覧回数
karina_valencia
NXP Apps Support
NXP Apps Support

timesyssupport are you available to help on this case?

0 件の賞賛
返信