This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Compiler can not find headers when used '--with-gxx-include-dir'
On Fri, Sep 14, 2012 at 3:05 PM, niXman <i.nixman@gmail.com> wrote:
> 2012/9/15 Ian Lance Taylor:
>
>> Hard to tell. In general I recommend that you tell us precisely what
>> you did and precisely what happened. Otherwise we just have to guess,
>> and that rarely works well.
>
> Without using the '--with-gxx-include-dir' option for configure GCC -
> everything's ok.
> But I want to setup c++ headers in an other directory that I specify
> in the '--with-gxx-include-dir' option. GCC is
> configuring/building/installing successfully, but when I try to
> compile some C++ code I get the error about that GCC can not find C++
> header files.
Precisely what did you do? What commands did you run to
configure/build/install gcc?
Precisely what happened? What command did you run to run gcc, and
what did it print?
Ian