WTX ERROR 0x10034(LOADER_RELOCATION_OFFSET_TOO_LARGE)报错整理

来源:互联网 发布:ug中心钻编程 编辑:程序博客网 时间:2024/06/13 01:14

因为程序的代码中,有一句关于64位的操作,所以在加载.out时会报错,下载不下去。报的错是 WTX ERROR 0x10034(LOADER_RELOCATION_OFFSET_TOO_LARGE) .在c/c++ complier中添加了-mlongcall,还是不行!


在编译这个模块时,在编译选项中加入 -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.

原创粉丝点击