随笔分类 -  Linux下开发环境的搭建

摘要:安装ubuntu时,系统让用户创建了一个非root用户,系统启动后使用这个用户,在需要执行超级用户权限的指令时,可以通过sudo来执行。 为此我们可以通过这样的方式修改root的密码: allen@ubuntu:~$ sudo passwd root [sudo] password for chasfer: 输入新的 UNIX 密码: 重新输入新的 UNIX 密码:... 阅读全文
posted @ 2012-03-11 16:27 夏大王 阅读(287) 评论(0) 推荐(0)
摘要:http://www.cnblogs.com/samwei/archive/2011/04/25/2026211.htm 阅读全文
posted @ 2011-11-29 23:13 夏大王 阅读(161) 评论(0) 推荐(0)
摘要:Using a Practical Project WorkspaceIn the course of developing and customizing software for your target, you will need to organize various software packages and project components in a comprehensive and easy-to-use directory structure. Table 4-1 shows a suggested directory layout you may find useful 阅读全文
posted @ 2011-11-03 11:12 夏大王 阅读(552) 评论(0) 推荐(0)
摘要:参照,这里的hello word程序,A.为什么要在Linux使用Eclipse开发C/C++程序? Linux是一个以C/C++开发为主的平台,无论是Kernel或是Application,主要都使用C/C++开发。传统在Linux下开发程序,是在文字模式下,利用vi等文字编辑器撰写C/C++程序存盘后,在Command line下使用gcc编译,若要debug,则使用gdb。这种开发方式生产力并不高,若只是开发学习用的小程序则影响不大,但若要开发大型项目时,程序档案个数众多,需要用project或solution的方式管理;且debug时breakpoint的加入,单步执行,观察变量变化等 阅读全文
posted @ 2011-06-01 21:05 夏大王 阅读(625) 评论(0) 推荐(0)
摘要:Ubuntu(Linux)使用Eclipse搭建C/C++编译环境 这两天,给自己电脑弄了双系统,除了原来的Windows 7系统外,装上了Linux系统,使用的版本是Ubuntu(点击可到相应的下载页面)。开始我装的Linux版本是fedora9,对于一个根本没接触过Linux系统的人而言,使用fedora,简直让人崩溃。更崩溃的是,我用的英文版。没的办法,又重新下载Linux,刻碟。装系统。装系统的时候也出了点问题,不过都是小问题,一下子就解决了,如果有人搜到这篇文章,遇到了问题,可留言询问,说不定我能帮忙解决哈。 入正题了。 首先是安装Eclipse,方法有两种: 第一种是通过Ubunt 阅读全文
posted @ 2011-06-01 20:45 夏大王 阅读(933) 评论(0) 推荐(1)
摘要:Using C++ in Eclipse - "Program file not Specified" problem遇到的问题 跟这位仁兄的一样 不过我的是在Linux下的, 抄录如下,以滋怀念。When we are using CDT to write C++ in Eclipse, you may encounter the following error: (I've set up a new C++ Hello World project)Binary not foundOr Program file not SpecifiedSo how can we 阅读全文
posted @ 2011-06-01 20:38 夏大王 阅读(968) 评论(0) 推荐(0)
摘要:Ubuntu Samba安装与XP共享IP摘要:首先保证Ubuntu能连入Internet,XP与Ubuntu能互相ping通。安装Ubuntu Samba。标签:Ubuntu Samba经过长时间学习Ubuntu Samba,你可能会遇到Ubuntu Samba连入Internet问题,这里将介绍安装Ubuntu Samba问题的解决方法TCPIP下VM虚拟机Ubuntu与XP共享:之XP访问Ubuntu 。NND,困惑我打一个半月之久的问题终于解决了。1,首先保证Ubuntu能连入Internet,XP与Ubuntu能互相ping通。安装Ubuntu Samba。终端执行:sudo apt 阅读全文
posted @ 2011-05-31 21:04 夏大王 阅读(1314) 评论(0) 推荐(0)