Typical Linux problems-Program Development

Source: Internet
Author: User
For more information about Linux programming and kernel, see program development. 0001
Debug core files in linux
Gdb
: Executable program that generates core dump due to an error.
: Name of the core dump file. The default value is "core"

0002
A. out obtained by gcc abc. c cannot be run.
./A. out

0003
Why is the error message "cout" not defined during c ++ compilation?
Add using namespace std after the include header file;

0004
The standard connection libraries used by the newly compiled gcc are all under/usr/local/lib, but how to add the default connection paths/usr/lib? (Except for adding-L/usr/local/lib at each compilation) (sakulagi, huhuuworm)
Export LD_LIBRARY_PATH = $ LD_LIBRARY_PATH:/usr/local/lib
Write ~ /. Bash_profile.
Add a simple method:
Add/usr/local/lib to/etc/ld. so. conf and run ldconfig once.

---------------------------- Classic books --------------------------
0001
GNU/Linux Advanced Network Application Service Guide
Linuxaid website
Machinery Industry Press
Advantages: comprehensive and refined, all of which are practices
Disadvantage: earlier version: redhat 6.2

0002
Linux Apache Web Server Management Guide
Charles Aulds
Machinery Industry Press
Advantage: I have not found any questions about apache yet.
Disadvantages: For 1.3.x, the latest Chinese version for 2.0. * is to be released

0003
Linux Kernel Scenario Analysis
Zhejiang University Press
Advantage: too thorough to understand
Disadvantage: it is still a version problem. Hehe, the kernel is too new, but it must be read.

0004
Advanced Programming in Unix environment
Richard Steven s
Machinery Industry Press
Advantage: profound and profound
Disadvantages: It is hard for beginners to understand. Otherwise, how is it called advanced programming?

0005
Programming essence-Tips for Microsoft to write high-quality and error-free c Programs
Steve Maguire
Electronic Industry Press
Advantage: no more. The author is the lead of the VC development team.
Disadvantages: Hard to find.

0006
Understanding the Linux Kernel, 2nd Edition (huhuuworm)
By Daniel P. Bovet & Marco Cesati
Published by: o'reilly
After reading this book, you will understand under what circumstances Linux has the best performance and how it faces challenges, provides excellent system responses for process scheduling, file access, and memory management in various environments. By explaining its importance, the author introduces every question and associates kernel operations with system calls or utilities that Unix programmers and users are familiar.

0007
UNIX operating system tutorial (English version) (mental retardation)
By Syed Mansoor Sarwar...
Machinery Industry Press
Features: easy to understand, focuses on basic unix concepts and overall understanding, and reviews English by the way.
Disadvantages: no Chinese Version

0008
UNIX programming environment (mental retardation)
By Brian W. Kernighan, Rob Pike
Translated by Chen xiangqun
Machinery Industry Press
Features: simple, easy to understand how to use UNIX and a variety of tools, a brief introduction to the Unix programming environment, compared to the "UNIX environment advanced programming", this book is suitable for beginners.
Disadvantage: currently, no English version is available.


0009
The Art of UNIX Programming (huuworm)
Author: Eric Steven Raymond
Advantages: the advantages of the E.S. Raymond classic are not required.
Disadvantage: keep updating. The current version is 0.73. After reading it, I will release a new version for you. It is quite uncomfortable.

0010
Unix network programming-Volume 1 API set and X/Open Transmission Interface API (slg1972)
Tsinghua
W. Richard Steven S (late)
Describes the programming of unix networks in detail.
Non-entry level

0011
Unix network programming-Volume 2 inter-process communication (slg1972)
Tsinghua
W. Richard Steven S (late)
Describes in detail the processes between unix and the relationship between threads, as well as the similarities and differences of various standard process programming.
Non-entry level

0012
Unix network programming-Volume 3 Application (slg1972, huhuuworm)
I haven't bought it yet. It should be nice.
I didn't buy it because Master Richard Stevens died young and it was no longer possible to complete the third volume of the plan. It is said that the unfinished draft may be written by Gary R. Wright.

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.