首页 > 系统服务 > 详细

Eclipse环境安装rust

时间:2017-06-12 23:32:57      阅读:568      评论:0      收藏:0      [点我收藏+]

  参考

https://rustdt.github.io/

https://github.com/RustDT/RustDT/blob/latest/documentation/UserGuide.md#user-guide

https://stackoverflow.com/questions/33570021/how-to-set-up-gdb-for-debugging-rust-programs-in-windows/33570022#33570022

 

1.安装RUST 语言工具

在https://www.rust-lang.org/zh-CN/other-installers.html下

rust-1.18.0-x86_64-pc-windows-gnu.msi

执行cargo install racer 

 

2.下载tdm-gcc 

http://tdm-gcc.tdragon.net/下的

tdm64-gcc-5.1.0-2.exe

安在装 C:\TDM-GCC-64\

 

3.下载eclipse

http://www.eclipse.org/downloads/packages/eclipse-ide-cc-developers/lunasr2

 

4.打开Eclipse,选择 Help -> Install New Software,安装插件。插件地址:https://rustdt.github.io/releases/

 

 

5.在run configure 中 build command 下输入

${CARGO_TOOL_PATH} build

 

6.在debug configure 中  debugger 中输入

             C:\TDM-GCC-64\gdb64\bin\gdb.exe

             C:\TDM-GCC-64\gdb64\bin\gdbinit

 

7.下载rust源代码  

https://www.rust-lang.org/zh-CN/other-installers.html

 

8.其他安操作操提示下载安装

 

Eclipse环境安装rust

原文:http://www.cnblogs.com/zengkefu/p/6995143.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!