The best example of getting started with GNU programming-GNUHELLO

Source: Internet
Author: User
The best example for getting started with GNU programming-GNUHELLO-general Linux technology-Linux programming and kernel information. For details, see the following. Author: c-aries

"The primary purpose of GNU software is to run on top of the GNU kernel, compiled with the gnu c compiler, on various types of cpu ."

The main purpose of the GNU software is to run on the GNU kernel and compile it using the gnu c compiler to apply to various CPU types.

"But it is important to support Linux-based GNU systems, since they are the form of GNU that is popular ."

However, it is also important to support many Linux kernel-based GNU systems, because these are very popular software in the GNU form.

-- Excerpt from < > 40th page

To learn GNU/Linux, we should have a better understanding of GNU, because it was originally a GNU system, and the Linux kernel was a member of GNU software. There is an optimal getting started instance for GNU programming-"Hello World". The package name is hello. The running effect is as follows:

$ Hello
Hello world!
$

The hello source package contains "autoconf automatic configuration", "automake auto generate Makefile", "po international programming", "m4 macro processor", and "man manual creation ", compliance with "portability programming" and "document specifications" < > Is the first entry program in GNU programming. Hello2.2 after decompression, a total of 1.6 M.

Learn about GNU/Linux programming and enjoy the wonderful world of free software. Start from here!

Network Resources:
[1] Hello Homepage
Http://www.gnu.org/software/hello/
[2] Hello source code
Http://ftp.gnu.org/gnu/hello/
[3] GNU programming specifications
Http://www.gnu.org/prep/standards/standards.pdf

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.