From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10624 invoked by alias); 19 Aug 2008 19:51:18 -0000 Received: (qmail 10615 invoked by uid 22791); 19 Aug 2008 19:51:18 -0000 X-Spam-Check-By: sourceware.org Received: from mail01.tanner.com (HELO mail01.tanner.com) (70.137.39.20) by sourceware.org (qpsmtpd/0.31) with SMTP; Tue, 19 Aug 2008 19:50:33 +0000 Received: (qmail 25072 invoked from network); 19 Aug 2008 19:50:29 -0000 Received: from unknown (HELO exchange01.tanner.com) (192.168.104.27) by mail01.tanner.com with SMTP; 19 Aug 2008 19:50:29 -0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Different working folder for a C/C++ source file Date: Tue, 19 Aug 2008 20:45:00 -0000 Message-ID: From: "Seyran Avanesyan" To: 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/msg00181.txt.bz2 Hi,=20 Can I compile a C/C++ source from folder /AAA, but tell gcc to pretend that the file is in the folder /BBB. The problem is /BBB contains all the necessary files (source and include files), but I took one of them, modified a little, and /BBB is read-only. =20 Thanks, Seyran