emacs-devel
[Top][All Lists]
Advanced

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

Re: CEDET calls cpp -E -dM -x c++ /dev/null


From: Eli Zaretskii
Subject: Re: CEDET calls cpp -E -dM -x c++ /dev/null
Date: Thu, 02 Jul 2009 06:24:00 +0300

> Date: Wed, 1 Jul 2009 22:25:32 +0200
> From: Lennart Borgman <address@hidden>
> Cc: address@hidden, address@hidden, address@hidden
> 
> I see another problem in semantic-gcc-setup. It tries to guess the
> include paths and does this
> 
>   (let* ((try-paths (list "/usr/include" (concat prefix "/include")
>                         (concat prefix "/include/c++/" ver)
>                         (concat prefix "/include/c++/" ver "/" host )
>                         )))
> 
> Can't gcc or cpp give some better information about include paths that
> semantic can use? Where is this information?

I thought one of the -print-* options could show the place of the
headers, but I cannot get them to do this.  This is the closest:

    D:\usr\eli\data>cpp -print-file-name=libmingwex.a
    D:/usr/bin/../lib/gcc/mingw32/3.4.2/../../../libmingwex.a

I guess the place where the headers live should be customizable
instead of being hardcoded.




reply via email to

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