CCS的hello

[复制链接]
2700|5
 楼主| acer4736 发表于 2012-10-11 20:15 | 显示全部楼层 |阅读模式
----------------------------  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.
 楼主| acer4736 发表于 2012-10-11 20:15 | 显示全部楼层
hello wordl! 无法再stdout里面显示出啦
teabottle 发表于 2012-10-11 20:33 | 显示全部楼层
我安装了ccs 3.3,但是在安装文件里根本就没有hello1这个文件?谁有啊,请发到网上,大家分享一下吧
meishizhaoshi 发表于 2012-10-11 20:55 | 显示全部楼层
warning: creating .stack section with default size of 400 (hex) words.
这个改380就可以了
lasbell2012 发表于 2012-10-13 20:26 | 显示全部楼层
楼上正解,说的不错
jijicaode 发表于 2013-3-6 15:07 | 显示全部楼层
#include <stdio.h>
#include <stdlib.h>
这两句要加开头,还是无法显示的话就是程序有错误,否则不可能。
还有你要改build options里面linker,将Heapsize和Stacksize修改为0x400;
您需要登录后才可以回帖 登录 | 注册

本版积分规则

175

主题

1500

帖子

3

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