Thread: include path

  1. #1
    Registered User
    Join Date
    Sep 2012

    include path

    I want to see the path that is searched by gcc to find header files.
    I tried echo $C_INCLUDE_PATH
    echo $CPLUS_INCLUDE_PATH but the output is blank...

  2. #2
    Registered User
    Join Date
    May 2010
    Try asking gcc to tell you it's search paths, like: "gcc -print-search-dirs" .


Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Where to include path of header files in Visual Studio
    By emmagood in forum C++ Programming
    Replies: 15
    Last Post: 05-16-2012, 11:53 PM
  2. Does #include indirectly include the source file too?
    By Lord Asriel in forum C Programming
    Replies: 10
    Last Post: 11-30-2011, 08:20 AM
  3. Replies: 1
    Last Post: 11-06-2011, 06:20 PM
  4. header path & include
    By dontoo in forum C++ Programming
    Replies: 3
    Last Post: 02-19-2010, 05:40 AM
  5. changing the gcc standard include search path
    By RoshanX in forum Linux Programming
    Replies: 1
    Last Post: 01-01-2007, 09:23 AM