relocation truncated to fit: R_X86_64_32

来源:互联网 发布:mac下做windows启动盘 编辑:程序博客网 时间:2024/05/16 14:45

This is due to the status data is large than2G.

The problom can be solve by check the program and change thedimensions of array。 I check the program and find no problom in theprogram。

So the another way is to create more space for the program by using“-mcmodel=medium”。Then i changed the compile message :g77 -o vel-mcmodel=medium vel_add.f the problem was solved。Congratulations!!!



不过一般是内存分配太大导致

0 0
原创粉丝点击