Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-25-2004, 07:15 AM   #1
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

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
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.


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 03:42 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration