Pregunta

i have problem in compiling a C code for MPC5643L powerpc board. the code has long long x variable and gcc assembles it as a floating number. since my registers are 64 bit how to compile for it using gcc.

¿Fue útil?

Solución

You would pass -msoft-float to the compile command line. This will force it to not use any floating point registers, and instead treat the target as having only 32 32-bit GPRs.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top