UBL可以正常运行,偶然发现UBL的编译选项中有-g选项,去掉这个选项之后,能够编译出更小的UBL,但是不能运行,请问各位高手知道这是什么原因吗?
-g -o3 -fr"$(Proj_dir)\..\nand" -fs"$(Proj_dir)\" -i"$(Proj_dir)\..\include" -d"UBL_NAND" -d"USE_IN_ROM" -me -mv5e --abi=ti_arm9_abi
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
UBL可以正常运行,偶然发现UBL的编译选项中有-g选项,去掉这个选项之后,能够编译出更小的UBL,但是不能运行,请问各位高手知道这是什么原因吗?
-g -o3 -fr"$(Proj_dir)\..\nand" -fs"$(Proj_dir)\" -i"$(Proj_dir)\..\include" -d"UBL_NAND" -d"USE_IN_ROM" -me -mv5e --abi=ti_arm9_abi
您说的很对,去掉-g后,-o3可能发挥了更大的作用,我应该好好研究一下代码,谢谢
您好,我把-o3选项和-g都去掉,编译后不能运行,以为是体积大的原因;把-g加上,体积更大了,反而又能够运行了。