[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

include paths missing

From: Torsten Mueller
Subject: include paths missing
Date: Wed, 26 Sep 2012 20:10:29 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

I have an interesting question. I specify -I. and -I../.. during the g++
invocation. But the compiler doesn't know these paths. Why?

Look at this example:

  $ g++ -v -I. -I../.. -c

The -v makes gcc dump the following list before compilation:

  #include "..." search starts here:
  #include <...> search starts here:
  End of search list.
  End of search list.

What's wrong here? I have another machine where . and ../.. are
mentioned at the top of the list and everything is fine. But here gcc
doesn't find the headers. What could be a reason for this? I really have
no idea.

gcc 4.7.1 on Arch Linux


reply via email to

[Prev in Thread] Current Thread [Next in Thread]