Development and Learning steps in Linux

Source: Internet
Author: User
Development and Learning steps for Linux-general Linux technology-Linux programming and kernel information. The following is a detailed description. Many of my friends want to learn how to develop in linux. I have made many detours and bought many books. Based on my personal experience, I think this learning process is reasonable (my opinion ):

1. Familiarize yourself with Common commands in linux.

2. Learn more about emacs or vim. It takes you six months to study the system! In the future, we will use this editor to write programs. After configuration, emacs is completely an IDE, such as code jump, Automatic completion (Intelligent induction) and other useful functions.

3. Learn how to compile makefile. Because we use makefile to organize our program, just like the dsp/dsw file in vc6 (of course, The makefile of vc ). Some good tools can help us compile makefiles that can be transplanted, such as autoconf.

4. Learn to use the development tool chain of GUN, such as gcc, gdb, ldd, ld ,......

5. Learn about linux system calls and some open source libraries. Look at the highly handwritten code for a long time. To learn about cvs, because most open-source code is managed by cvs, use cvs to write down the code.

6. Write your own code to complete the work

The most common problem we encounter is how to build an IDE that is similar to VC. It will benefit a lot if you spend more time learning emacs. In addition, it is not very convenient to debug gdb. In fact, it is better to use gdb with emacs than to use vc6! Of course, writing makefile will also make a lot of people afraid, just stick to it, especially after learning tools such as atuoconf, it is very easy to write a makefile.

Recommended books:
Linux: laruence's LINUX Private food: Basic Learning
Emacs learning: Learning gnu emacs (version 2)
Linux development tools: Basic tutorial on LINUX and UNIX program development
Linux system call learning: UNIX/LINUX Programming Practice tutorial, UNIX environment advanced programming (version 2nd)

For more information about makefile, please search for it on the Internet. For more information, please refer to other people's books. If you really want to buy it, gnu make project management (full revision of the third edition) (Chinese Version) "is also good! Cvs is searched on the Internet. There are many tutorials.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.