Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 2004 16:04:26 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        John Hay <jhay@icomtek.csir.co.za>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: We have to fix this!
Message-ID:  <20040309150426.GY10864@darkness.comp.waw.pl>
In-Reply-To: <20040309145955.GA56187@zibbi.icomtek.csir.co.za>
References:  <20040309140543.GW10864@darkness.comp.waw.pl> <xzpu10y861b.fsf@dwp.des.no> <20040309141508.GX10864@darkness.comp.waw.pl> <20040309145955.GA56187@zibbi.icomtek.csir.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040309150426.GY10864>