Using Eclipse + beyond compare + remotecmd in windows XP for Embedded developement

How to config remotecmd: Remotecmd 1.0 readme

1.config embedded linux developement env for arm in vm_ubuntu

test ok: I can cross-compile my codes in vm_ubuntu for arm.

 

2.install samba in vm_ubuntu

 

3.my source dir is mount to windows xp as: Z:/minigui

 

4.copy my source dir to D:/work/minigui

 

5.eclipse project dir: D:/work/workspace/mingui

 

6.create sync script for beyondcompare in eclipse project dir

 1:  #sync_script.txt
 2:  
 3:  # Turn logging on
 4:  log normal "C:/Synclog.txt"
 5:  
 6:  #filter "*.c;*.h;*.cpp;" ignore .svn subdir
 7:  filter "*.c;*.h;*.cpp;-.svn/"
 8:  
 9:  # Load the base folders
10:  load "D:/work/minigui" "Z:/minigui"
11:  
12:  # Copy different files left to right, delete orphans on right
13:  sync update:left->right

 

7.create sync bat file for beyondcompare in eclipse project dir

Important: you should install beyondcompare into dir there is no space dir. for example "c:/program files" can not work.

1:  ::sync.bat
2:  set BC="D:/tool/BeyondCompare3/BCompare.exe"
3:  set bc_script="sync_script.txt"
4:  
5:  %BC% @%bc_script%
6:  

 

8.modify makefile as

 1:  rmake=D:/tool/remotecmd/bin/win32/remotecmd.exe
 2:  rconfig=$(PWD)/remotecmd.xml
 3:  rscript_clean=$(PWD)/script_clean.txt
 4:  rscript_all=$(PWD)/script_all.txt 
 5:   
 6:  all:
 7:  sync.bat$(rmake) $(rconfig) $(rscript_all) 
 8:   
 9:  clean:
10:  $(rmake) $(rconfig) $(rscript_clean)

 

9.build project ^_^

begin:

image

result:

image

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值