麟凤龟龙 发表于 2013-8-6 08:11

汇编程序构建时报错cannot allocate .stack in BLK_B0 (page 1)

本帖最后由 麟凤龟龙 于 2016-10-6 22:13 编辑

>> warning: creating output section .cinit without SECTIONS specification
>> warning: creating output section vectors without SECTIONS specification
>> warning: creating .stack section with default size of 400 (hex) words.
   Use -stack option to change the default size.
>> cannot allocate .stack in BLK_B0 (page 1)
>> errors in input - ./Debug/BLCDM.out not built

Build Complete,
2 Errors, 3 Warnings, 0 Remarks.

SLEET1986 发表于 2013-8-6 08:38

CMD文件问题,堆栈设置问题

zhangmangui 发表于 2013-8-6 09:03

把堆栈改大一点试试

麟凤龟龙 发表于 2013-8-6 09:20

zhangmangui 发表于 2013-8-6 09:03 static/image/common/back.gif
把堆栈改大一点试试

我在CMD文件中添加了-stack 128 ,那个错误就消除了,但是这样是不是堆栈的空间变小了啊?

麟凤龟龙 发表于 2013-8-6 15:18

SLEET1986 发表于 2013-8-6 08:38 static/image/common/back.gif
CMD文件问题,堆栈设置问题

CMD文件是个对于入门难点啊!
页: [1]
查看完整版本: 汇编程序构建时报错cannot allocate .stack in BLK_B0 (page 1)