From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22078 invoked by alias); 10 Nov 2005 12:42:10 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 22068 invoked by uid 22791); 10 Nov 2005 12:42:06 -0000 Received: from exprod6mx57.postini.com (HELO psmtp.com) (64.18.1.22) by sourceware.org (qpsmtpd/0.30-dev) with SMTP; Thu, 10 Nov 2005 12:42:06 +0000 Received: from source ([192.150.20.142]) by exprod6ob10.obsmtp.com ([64.18.5.12]) with SMTP; Thu, 10 Nov 2005 04:42:02 PST Received: from inner-relay-3.eur.adobe.com (inner-relay-3b [10.128.4.236]) by outbound-smtp-2.corp.adobe.com (8.12.10/8.12.10) with ESMTP id jAACm9XP011123; Thu, 10 Nov 2005 04:48:09 -0800 (PST) Received: from fe1.corp.adobe.com (fe1.corp.adobe.com [10.8.192.70]) by inner-relay-3.eur.adobe.com (8.12.10/8.12.9) with ESMTP id jAACftlI028941; Thu, 10 Nov 2005 04:41:55 -0800 (PST) Received: from namail3.corp.adobe.com ([10.8.192.66]) by fe1.corp.adobe.com with Microsoft SMTPSVC(6.0.3790.211); Thu, 10 Nov 2005 04:41:54 -0800 Received: from 10.32.16.88 ([10.32.16.88]) by namail3.corp.adobe.com ([10.8.192.66]) via Exchange Front-End Server namailhost.corp.adobe.com ([10.8.192.72]) with Microsoft Exchange Server HTTP-DAV ; Thu, 10 Nov 2005 12:41:54 +0000 User-Agent: Microsoft-Entourage/11.2.1.051004 Date: Thu, 10 Nov 2005 12:42:00 -0000 Subject: Re: dependencies for sources in sub dirs. From: John Love-Jensen To: Tobias Grimm , MSX to GCC Message-ID: In-Reply-To: <4372919C.1010304@e-tobi.net> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-SW-Source: 2005-11/txt/msg00154.txt.bz2 Hi Tobias, Try this experiment: mkdir src vi src/Foo.c (put in something simple: int foo() { return 3; } ) gcc -c src/Foo.c Does the Foo.o end up in your current working directory, or in src/Foo.o? HTH, --Eljay