From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29733 invoked by alias); 7 Aug 2008 04:02:55 -0000 Received: (qmail 29723 invoked by uid 22791); 7 Aug 2008 04:02:54 -0000 X-Spam-Check-By: sourceware.org Received: from exprod6og115.obsmtp.com (HELO exprod6og115.obsmtp.com) (64.18.1.35) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 07 Aug 2008 04:02:13 +0000 Received: from source ([192.150.11.134]) by exprod6ob115.postini.com ([64.18.5.12]) with SMTP; Wed, 06 Aug 2008 21:02:10 PDT Received: from inner-relay-1.corp.adobe.com ([153.32.1.51]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id m773wUG3003847; Wed, 6 Aug 2008 20:58:30 -0700 (PDT) Received: from fe2.corp.adobe.com (fe2.corp.adobe.com [10.8.192.72]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id m77429iq003896; Wed, 6 Aug 2008 21:02:10 -0700 (PDT) Received: from namailgen.corp.adobe.com ([10.8.192.91]) by fe2.corp.adobe.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 6 Aug 2008 21:02:09 -0700 Received: from 10.7.234.18 ([10.7.234.18]) by namailgen.corp.adobe.com ([10.8.192.91]) via Exchange Front-End Server namail.corp.adobe.com ([10.8.189.97]) with Microsoft Exchange Server HTTP-DAV ; Thu, 7 Aug 2008 04:02:09 +0000 User-Agent: Microsoft-Entourage/12.11.0.080522 Date: Thu, 07 Aug 2008 16:30:00 -0000 Subject: Re: gcc include search order From: Eljay Love-Jensen To: "Simon, Jb" , GCC-help Message-ID: In-Reply-To: <3BE9E6535E3029448670913581E7A1A20D852173@emss35m06.us.lmco.com> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2008-08/txt/msg00065.txt.bz2 Hi Joe, Does GCC 3.1 support the -iquote switch? If so, -iquote./changed *may* be a way to put a different directory at a higher priority than the same directory as the source file. (Maybe. I've never attempted this trick.) Does GCC 3.1 support the -I- switch? If it does, that's another way you could put -I./changed ahead of -I. in the include path. man gcc Look for -iquote Look for -I- HTH, --Eljay