这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 综合技术 » 通讯及无线技术 » 怎么设置 Rhapsody 环境 ??

共5条 1/1 1 跳转至

怎么设置 Rhapsody 环境 ??

助工
2007-08-10 07:19:49     打赏
我想用 T20 for PPC 和 Rhapsody 结合起来, 但是 Rhapsody默认 的target是80486, 我想改成PPC860, 请问各位应该怎么做? 下面是一下信息. Sample build.mak File The following is an example of the vxbuild.mak file, which is used to build the framework for the VxWorks environment. MAKE=make CPU=I80486 ifeq ($(PATH_SEP),) all : @echo PATH_SEP is not defined. Please define it as \\or / else all : $(MAKE) all -C oxf -f vxoxf.mak CFG=vxoxf CPU=$(CPU) PATH_SEP=$(PATH_SEP) $(MAKE) all -C oxf -f vxoxf.mak CFG=vxoxfsim CPU=$(CPU) PATH_SEP=$(PATH_SEP) $(MAKE) all -C oxf -f vxoxf.mak CFG=vxoxfinst CPU=$(CPU) PATH_SEP=$(PATH_SEP) $(MAKE) all -C oxf -f vxoxf.mak CFG=vxoxfsiminst CPU=$(CPU) PATH_SEP=$(PATH_SEP) $(MAKE) all -C omcom -f vxomcom.mak CFG=vxomcomappl CPU=$(CPU) PATH_SEP=$(PATH_SEP $(MAKE) all -C tom -f vxtom.mak CFG=vxtomtrace CPU=$(CPU) PATH_SEP=$(PATH_SEP) $(MAKE) all -C tom -f vxtom.mak CFG=vxtomtraceRiC CPU=$(CPU) PATH_SEP=$(PATH_SEP) $(MAKE) all -C aom -f vxaom.mak CFG=vxaomtrace CPU=$(CPU) PATH_SEP=$(PATH_SEP) $(MAKE) all -C aom -f vxaom.mak CFG=vxaomanim CPU=$(CPU) PATH_SEP=$(PATH_SEP) endif This makefile: ? Sets the make command for the VxWorks environment (make). ? Sets the CPU being targeted (I80486 = Intel 80486). ? Checks whether the path separator (PATH_SEP) character was properly set. If not, it generates an error and cancels the build. ? Sets the all: command to build the framework libraries for the various configurations (with and without animation, real-time or simulated time, and so on).  



关键词: 怎么     设置     Rhapsody     环境    

助工
2007-08-10 07:21:59     打赏
2楼
昨晚搞定了, 把Rhapsody/share/langc/vxbuild.mak修改一下, CPU改成PPC860, 把路径改成//, 然后在dos下运行tornado下的torvars,然后到目录Rhapsody/share/langc/下 make -f vxbuild.mak,就生成5个库文件,在lib目录下, http://www.pc860.com MPC8XX BDM调试器,入门级MPC850学习板我的硬盘 http://pc850.vicp.net:5656

助工
2007-08-10 07:22:54     打赏
3楼
生成几个库就可以了, 我的电脑是CPU有点问题,是VIA的。 http://www.pc860.com MPC8XX BDM调试器,入门级MPC850学习板我的硬盘 http://pc850.vicp.net:5656

助工
2007-08-10 07:23:08     打赏
4楼
最近一直比较忙,你可以看看里边的文档,照着做应该没问题, 我经常做小东西,基本用不着rhapsody, 用得最多的是状态机。  

助工
2007-08-10 07:23:29     打赏
5楼
关注  

共5条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册 ]