Solved

header files

Posted on 2004-04-02
3
252 Views
Last Modified: 2013-11-13
Hi, I need to determine the most common set of system header files under /usr/include that should be included when the Linux OS is initially installed and are used frequently in C/C++ programming such as <math.h>, <stdio.h> etc.  Please teach me a good way to do this.

0
Comment
Question by:ericmhhui
  • 2
3 Comments
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 10745264
You need all the ones that come with glibc and the kernel. It does not make sense to try to find the most frequently used ones, you need all of them.
0
 
LVL 1

Author Comment

by:ericmhhui
ID: 10746648
is there a way for me to tell which are the ones that come with glibc and the kernel?
I want to get a list of those files one by one.
0
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 50 total points
ID: 10750417
How are you installing your Linux system? If you are creating a distribution yourself, you need to compile glibc, so you should know which header files need to be installed. If you are installing a standard Linux distribution, you should have a package that contains the header files. On a RPM based system the package is very likely named glibc-devel. If you run this command "jrpm -ql glibc-devel", you will get a list of files that are part of this package.

This package should also contain the kernel header files.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now