C language programming in linux (1)

Source: Internet
Author: User
C language programming in linux (1)-Linux general technology-Linux programming and kernel information. For details, see the following. (1) Directory Introduction

1) Introduction to Linux programming-Basic Knowledge
2) getting started with Linux programming-process Introduction
3) getting started with Linux programming-File Operations
4) Introduction to Linux programming-time concept
5) Introduction to Linux programming-Signal Processing
6) getting started with Linux programming-Message Management
7) getting started with Linux programming-thread operations
8) Linux programming-Network Programming
9) Introduction to C development tools in Linux

(2) specific content

1) Introduction to Linux programming-Basic Knowledge
Basic knowledge of C language programming in Linux
Preface:
This article introduces the basic knowledge required for C language programming in LINUX. In this article, we will
You will learn the following:
Source program Compilation
Write Makefile
Library Link
Program debugging
Header files and system help
----------------------------------------------------------------------------
----
1. source program Compilation
In Linux, If You Want To compile a C language source program, we need to use the GNU gcc compiler. Below we
Use an example to describe how to use the gcc compiler.
Suppose we have the following simple source code (hello. c ):
QUOTE:

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.