hello wordl! 无法再stdout里面显示出啦

[复制链接]
656|7
 楼主| spark周 发表于 2015-9-11 20:48 | 显示全部楼层 |阅读模式
hello wordl! 无法再stdout里面显示出啦
liliang9554 发表于 2015-9-11 20:48 | 显示全部楼层
怎么回事
 楼主| spark周 发表于 2015-9-11 20:49 | 显示全部楼层
---------------------------  myhello.pjt - Debug  ----------------------------
"C:\ti\c2000\cgtools\bin\cl2000" -g -fr"C:/TI/MYPROJECTS/MYHELLO/Debug" -d"_DEBUG" -d"LARGE_MODEL" -ml -v28 -@"../MYHELLO/Debug.lkf" "hello.c"

"C:\ti\c2000\cgtools\bin\cl2000" -g -fr"C:/TI/MYPROJECTS/MYHELLO/Debug" -d"_DEBUG" -d"LARGE_MODEL" -ml -v28 -@"../MYHELLO/Debug.lkf" "vectors.asm"

"C:\ti\c2000\cgtools\bin\cl2000" -@"Debug.lkf"
<Linking>
>> warning: creating .stack section with default size of 400 (hex) words.
   Use----------------------------  myhello.pjt - Debug  ----------------------------
"C:\ti\c2000\cgtools\bin\cl2000" -g -fr"C:/TI/MYPROJECTS/MYHELLO/Debug" -d"_DEBUG" -d"LARGE_MODEL" -ml -v28 -@"../MYHELLO/Debug.lkf" "hello.c"

"C:\ti\c2000\cgtools\bin\cl2000" -g -fr"C:/TI/MYPROJECTS/MYHELLO/Debug" -d"_DEBUG" -d"LARGE_MODEL" -ml -v28 -@"../MYHELLO/Debug.lkf" "vectors.asm"

"C:\ti\c2000\cgtools\bin\cl2000" -@"Debug.lkf"
<Linking>
>> warning: creating .stack section with default size of 400 (hex) words.
   Use
            -stack option to change the default size.
>> warning: creating .sysmem section with default size of 400 (hex) words.


            Use -heap option to change the default size.

Build Complete,
  0 Errors, 2 Warnings, 0 Remarks.
午夜粪车 发表于 2015-9-11 20:49 | 显示全部楼层
我安装了ccs ,但是在安装文件里根本就没有hello1这个文件?谁有啊,请发到网上,大家分享一下吧
zhaoxqi 发表于 2015-9-11 20:49 | 显示全部楼层
warning: creating .stack section with default size of 400 (hex) words.
这个改380就可以了
huangchui 发表于 2015-9-11 20:50 | 显示全部楼层
楼上正解,说的不错
jiajs 发表于 2015-9-11 20:50 | 显示全部楼层
#include <stdio.h>
#include <stdlib.h>
这两句要加开头,还是无法显示的话就是程序有错误,否则不可能。
zhanghqi 发表于 2015-9-11 20:50 | 显示全部楼层
嗯,还有你要改build options里面linker,将Heapsize和Stacksize修改为0x400;
您需要登录后才可以回帖 登录 | 注册

本版积分规则

821

主题

10121

帖子

4

粉丝
快速回复 在线客服 返回列表 返回顶部