Email List: Xaustin-group-lX
[All Lists]

Re: c99 -I option and GCC

To: vincent-opgr@xxxxxxxxxx, austin-group-l@xxxxxxxxxxxxx
Subject: Re: c99 -I option and GCC
From: Joerg.Schilling@xxxxxxxxxxxxxxxxxxx (Joerg Schilling)
Date: Mon, 03 Aug 2009 16:59:15 +0200
References: <20090731094755.GA22936@squonk.masqnet><MJBBLAAECCIFDIELHMCJIEOKIDAD.davids@webmaster.com><20090802170440.GO1799@prunille.vinc17.org><4a75df96.77nZTAS4pr04C+NK%Joerg.Schilling@fokus.fraunhofer.de><20090803005638.GA3746@prunille.vinc17.org>
Vincent Lefevre <vincent-opgr@vinc17.org> wrote:

> On 2009-08-02 20:48:54 +0200, Joerg Schilling wrote:
> > From your problem description, it seems as the cause for your
> > problems is the fact that some people install private include files
> > into a directory that is claimed to be a "system include dir" by the
> > vendor.
>
> No, the problem is that system include directories cannot be reordered
> by GCC.
>
> > If this is true, how could this mailing list help?
>
> POSIX allows *any* include directories to be reordered, thanks to
> the -I option. But this is not taken into account by GCC and in a
> comment of my bug report, it has been said that the defect is in
> POSIX.

Do you like t see an option to overwrite the system include directory as 
with SunPro C:

-YI,<dir>       Change default directory searched for include files

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de                (uni)  
       joerg.schilling@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily

<Prev in Thread] Current Thread [Next in Thread>