LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 01-31-2004, 09:32 AM   #1
sfcesario
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)

Thanks
James
 
Old 01-31-2004, 10: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
 
  


Reply


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


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration