Dear all, why the compilation optimization like -03 -04 etc does not work with mini2440, but produces segmentation fault? is it a problem of cross compiler? Are there anyone who is able to optimize the compilation for mini2440?
Compilation Optimization
You should be doing it wrong. I use -O3 (and O of 'O'ptimization no zero) with no problem. Could you post your code here? regards
This is not a matter of code, everything I compiled starting from QTeverywhere to a little program not directly written by me, produces segmentation fault with any optimization different from -O0. I use the compile string suggested here in many post: arm-none-linux-gnueabi-gcc -O0 -march=armv4t -mtune=arm920t
Thanks for your suggestion, I already use them, the question here is if someone is able to use the optimization flag without the segmentation fault
No always the same, the one downloaded form this site, do you have any alternative? which one are you using?