随笔分类 -  Ubuntu

摘要:Linux 使用终端指令 ar x /Users/apple/Desktop/libWC_LIB_SDKT.a解压一个文件 报错如图所示: 是因为该.a文件包含了多个cpu架构,比如armv7,armv7s,arm64等,此时可以用如下命令 首先需要判断当前.a文件包含了 那些CPU架构,使用指令: otool -Vf /Users/apple/Desktop/libWC_LIB_SDKT.a ... 阅读全文
posted @ 2019-12-15 22:05 opencoder 阅读(791) 评论(0) 推荐(0) 编辑
摘要:Code::Block is a C/C++ IDE that could run on different OS, Windows, Linux and Mac OS. Comparing to the VS under the windows, it is less powerful. But it will help you a lots, and improve the your work... 阅读全文
posted @ 2013-01-26 16:07 opencoder 阅读(241) 评论(0) 推荐(0) 编辑
摘要:Use the official source list as the local source list, please make sure you are using the correct source list as you OS should have. Open the source list sudo gedit /etc/apt/sources.list Fill the ... 阅读全文
posted @ 2013-01-26 15:07 opencoder 阅读(298) 评论(0) 推荐(0) 编辑
摘要:On Ubuntu OS, there is a tool named "Blogilo" that could help you write blog just as the Windows Live Writer does. Install Blogilo sudo apt-get install blogilo Configure Blogilo After you hav... 阅读全文
posted @ 2013-01-26 14:52 opencoder 阅读(122) 评论(0) 推荐(0) 编辑
摘要:1) Install gcc on ubuntu: sudo apt-get install gcc g++ sudo apt-get install build-essential 2) Write a Hello.c with VIM like this: #include <stdio.h>int main() { printf(“Hello, gcc\n”); ... 阅读全文
posted @ 2012-08-24 08:05 opencoder 阅读(144) 评论(0) 推荐(0) 编辑
摘要:1) Use zip command to compress files: zip -r hello.zip hello 2) 寻找.h头文件所在的包, sudo apt-file search XXX.h sudo apt-file search Xf86vmode.h 阅读全文
posted @ 2012-08-24 08:03 opencoder 阅读(155) 评论(0) 推荐(0) 编辑
摘要:1) Create a new, empty mercurial repository: hg init myproject 2) Add some files into the current repository: hg add <file name>|<dir_name> 3) Commit files into the repository: hg commit -m “mess... 阅读全文
posted @ 2012-08-24 08:02 opencoder 阅读(175) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示