因为程序的代码中,有一句关于64位的操作,所以在加载.out时会报错,下载不下去。报的错是 WTX ERROR 0x10034(LOADER_RELOCATION_OFFSET_TOO_LARGE) .在c/c++ complier中添加了-mlongcall,还是不行!
ARM和PPC架构出现这种情况的可能比较大
-mlongcall应该能解决问题
. Q10: I am getting "WTX Error 0x10034(LOADER_RELOCATION_OFFSET_TOO_LARGE)" error when I download my application to the target. How can I fix it? A10: Adding the "-mlongcall" flag when building the application usually solves the problem.