Solved

header files

Posted on 2004-04-02
3
255 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 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
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.:
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.

726 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