Solved

header files

Posted on 2004-04-02
3
251 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

771 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

12 Experts available now in Live!

Get 1:1 Help Now