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

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

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

602 Views
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 Kudos
2 Replies

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

356 Views
karina_valencia
NXP Apps Support
NXP Apps Support

timesyssupport are you available to help on this case?

0 Kudos