Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-31-2004, 10:32 AM   #1
LQ Newbie
Registered: Jan 2004
Posts: 4

Rep: Reputation: 0
Where to find/How to change .h include directories for g++

Hi there

rather new to linux...

Is there a file which determines what directories are searched for .h files when a #include <somefile.h> is used in C++ program? Im using g++

Im using Debian (Woody)

Old 01-31-2004, 11:12 AM   #2
Andrew Benton
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Try running ./configure --help when you go to configure whatever package it is, it may give you the option to point to a particular includes directory. I think it may be possible to define CPPFLAGS=I/path/to/includes, but I'm not so sure about that


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
cannot find mysql include files lsimon4180 Linux - Software 5 03-25-2005 03:41 PM
how to rsync ex/include select specific directories ? dtimms Linux - Software 1 01-11-2005 06:16 AM
g++ V3.3.3 can't find cstdio include on FC2 tommyr Programming 0 06-16-2004 03:30 PM
How to include library directories? davee Programming 7 04-05-2004 06:41 AM
g++ does not find include files StressedLemming Linux - Newbie 2 11-30-2003 07:12 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:53 AM.

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