Hendrik Sattler writes ("Re: Problem with gfortran and pkg-config"):
> Am Donnerstag 29 Juli 2010, 19:23:40 schrieb Tollef Fog Heen:
> > The reason for stripping -I<any standard include path> is so you can
> > have in-tree include files that get included correctly even if their
> > names overlap the files in /usr/include.
> 
> This is not the case with current gcc. From "man gcc":
> "Directories named by -I are searched before the standard system
> include directories.  If the directory dir is a standard system include 
> directory, the option is ignored to ensure that the default search order for
> system directories and the special treatment of system headers are not 
> defeated."

Boggle.  As if our build systems weren't complicated enough without
the compiler and the makefiles playing Core Wars !

I guess we'll soon enough see -I/./usr/include ...

Ian.


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/19538.50595.522942.592...@chiark.greenend.org.uk

Reply via email to