AnsweredAssumed Answered

custom uClibc toolchain for imx28 and compiler flags question

Question asked by jordi farres on Jul 4, 2013
Latest reply on Jul 5, 2013 by Esben Haabendal

Hello,

I’ve build a custom toolchain using crosstool-ng with uClibc for imx28. Work fine excep for some c++ aplications that crash into a segment fault.

I suspect that I’m missing some compiler flag that lead to a bad eabi link.

The flags that I’m using are:

-march=armv5te

-mtune=arm9tdmi

-mfloat-abi=soft

 

Are they correct?

Am I omitting any other crucial flag?

I find that -mtune could be also arm926ej-s. Which one is correct for imx28?

 

Thanks in advance

jordi


Outcomes