?
Solved

header files

Posted on 2004-04-02
3
Medium Priority
?
256 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 200 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses
Course of the Month13 days, 4 hours left to enroll

777 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