From owner-freebsd-arch@FreeBSD.ORG Tue Mar 9 07:04:30 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A77CE16A4CE for ; Tue, 9 Mar 2004 07:04:30 -0800 (PST) Received: from darkness.comp.waw.pl (unknown [195.117.238.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD6AC43D45 for ; Tue, 9 Mar 2004 07:04:29 -0800 (PST) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id BE468AEA4F; Tue, 9 Mar 2004 16:04:26 +0100 (CET) Date: Tue, 9 Mar 2004 16:04:26 +0100 From: Pawel Jakub Dawidek To: John Hay Message-ID: <20040309150426.GY10864@darkness.comp.waw.pl> References: <20040309140543.GW10864@darkness.comp.waw.pl> <20040309141508.GX10864@darkness.comp.waw.pl> <20040309145955.GA56187@zibbi.icomtek.csir.co.za> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2OFxhqPNSAodNyNc" Content-Disposition: inline In-Reply-To: <20040309145955.GA56187@zibbi.icomtek.csir.co.za> User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: freebsd-arch@freebsd.org Subject: Re: We have to fix this! X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2004 15:04:30 -0000 --2OFxhqPNSAodNyNc Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 09, 2004 at 04:59:55PM +0200, John Hay wrote: +> > Sorry, I'm aware of .PATH, but try to do something like: +> >=20 +> > SRCS=3Dfile1.c ../file2.c +>=20 +> What about using ${.CURDIR} ? eg. SRCS=3Dfile1.c ${.CURDIR}/../file2.c I don't understand how this can help. The problem is that cc is looking for file2.o in "../" (or in "${.CURDIR}/../" in you proposal) directory, but it is not created there, it is created in current directory. Anyway, I gave example how to reproduce it, so you're welcome to try. --=20 Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! --2OFxhqPNSAodNyNc Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFATdz6ForvXbEpPzQRAlGRAJ49AqpIr1niyJpP9I2Ez5BOXfZYpwCcCml6 z/HQ7wdKMiGtuDXtUbxsZ1o= =hpn0 -----END PGP SIGNATURE----- --2OFxhqPNSAodNyNc--