LinuxQuestions.org
Review your favorite Linux distribution.
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 05-25-2004, 07:15 AM   #1
bonosa
LQ Newbie
 
Registered: May 2004
Posts: 5

Rep: Reputation: 0
where to put path to include file


I'm writing a c++ app and have a certain .h file that I want the machine to always go look for in a specific dir. I thought the place to add this path was in PATH but that doesnt work. Besides which, all the PATH entries are going to various /bin dirs, whereas this .h file is not in a /bin dir. Any idea where one is supposed to add this path (once and for all)...
I'm in SuSe linux
thanks

BTW I do know that I can put the path into my makefile, but thats a one-by-one basis. I was hoping for a more permanent fix.

Last edited by bonosa; 05-25-2004 at 07:21 AM.
 
Old 05-25-2004, 08:27 AM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
/usr/include is a good place.
 
  


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
G++: How to set the include path lavachequirit Programming 5 10-20-2004 08:56 AM
where did my include path go aot2002 Linux - Wireless Networking 2 01-24-2004 05:02 AM
Path to include? Mazen Alzogbi Red Hat 1 11-15-2003 06:25 AM
*.h files....where to put them for #include centr0 Programming 7 03-13-2003 06:26 AM
adding include path hfawzy Linux - Newbie 3 02-01-2003 07:01 AM


All times are GMT -5. The time now is 12:05 PM.

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