LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-20-2007, 09:48 AM   #1
mollie
LQ Newbie
 
Registered: Dec 2007
Posts: 4

Rep: Reputation: 0
C header files


I am a new linux user. Just feeling my way around and trying to learn.
I need to find the directory where the C HEADER files are stored in debian linux etch.
Thanks in advance.
 
Old 12-20-2007, 11:01 AM   #2
KrahnacK
Member
 
Registered: Nov 2007
Location: /dev/volcano
Posts: 70

Rep: Reputation: 15
Hi,

the "standard" ones are most of the time stored in /usr/include/
in order to use them, remember to have the corresponding developement package (glibc-dev for example)

happy learning
 
Old 12-22-2007, 12:10 PM   #3
mollie
LQ Newbie
 
Registered: Dec 2007
Posts: 4

Original Poster
Rep: Reputation: 0
I am sorry. I mean the C Header files for the current version running.
 
Old 12-22-2007, 12:12 PM   #4
mollie
LQ Newbie
 
Registered: Dec 2007
Posts: 4

Original Poster
Rep: Reputation: 0
I am sorry. I mean the C Header files for the running kernel.
 
Old 12-22-2007, 12:14 PM   #5
dwhitney67
Senior Member
 
Registered: Jun 2006
Location: Maryland
Distribution: Kubuntu, Fedora, RHEL
Posts: 1,541

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Take a look in /lib/modules/`uname -r`/source/include.

Those ` are the back-quotes, the ones paired with the ~ key on your keyboard.

If you are merely doing C s/w development, and need the linux headers, they are located in /usr/include/linux.

Last edited by dwhitney67; 12-22-2007 at 12:15 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
C Header files Stephanie Linux - General 4 12-22-2007 09:07 AM
Including header files and source files for classes Feenix Programming 8 09-28-2005 10:53 AM
gcc header files and cpp files? EchO Linux - Software 3 03-01-2005 01:14 AM
Where are C header files Squall Linux - Software 1 04-19-2004 08:51 PM
c header files in linux in place of header files in windows? harun_acs Programming 1 03-17-2004 02:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration