[cfe-commits] [patch] a bit of refactoring in the include path code

Pawel Worach pawel.worach at gmail.com
Sat Oct 3 09:23:22 PDT 2009


Hi,

That's right, there is no triple directory in /usr/include/c++/4.2/ on  
FreeBSD.
I guess this is because all the architectures are built from the same  
source tree on FreeBSD and the installation directory tree is defined  
in on place for all of them.

Regards
-- 
Pawel

On Oct 3, 2009, at 17:59, Rafael Espindola wrote:

The attached patch adds a function AddGnuCPlusPlusIncludePaths to
factor out a bit of duplicated code.  The bits about FreeBsd and
DragonFly should be functionally equivalents, but I think they are
(and were) incomplete. Can someone with one of those systems verify
that the there is no such thing as

/usr/include/c++/4.2/*freebsd*

or

/usr/include/c++/4.1/*dragon*

Every other gnu libstdc++ installation uses a directory named after
the triple, that is why I find this strange.

Cheers,
-- 
Rafael Ávila de Espíndola
<include-path.patch>





More information about the cfe-commits mailing list