From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NBYBZ-0002iK-Nf for qemu-devel@nongnu.org; Fri, 20 Nov 2009 13:26:21 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NBYBV-0002hc-1w for qemu-devel@nongnu.org; Fri, 20 Nov 2009 13:26:21 -0500 Received: from [199.232.76.173] (port=57524 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBYBU-0002hZ-TX for qemu-devel@nongnu.org; Fri, 20 Nov 2009 13:26:16 -0500 Received: from moutng.kundenserver.de ([212.227.126.171]:49625) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NBYBU-0007be-9J for qemu-devel@nongnu.org; Fri, 20 Nov 2009 13:26:16 -0500 Message-ID: <4B06DF3F.2060906@mail.berlios.de> Date: Fri, 20 Nov 2009 19:26:07 +0100 From: Stefan Weil MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] Fix build for mingw32 on windows ($@ in macro) References: <20091120145530.GA20634@shareable.org> In-Reply-To: <20091120145530.GA20634@shareable.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jamie Lokier Cc: QEMU Developers Jamie Lokier schrieb: > Stefan Weil wrote: >> Jamie Lokier schrieb: >>> Stefan Weil wrote: >>> >>>> Make using mingw32 on windows does not preserve $@ in macros >>>> when they are modified using this pattern: >>>> target: macro += something >>>> >>> Is it not using GNU Make, or is it some ancient version? >>> ("make --version" shows the version, if it's GNU Make). >>> >>> -- Jamie >> GNU make 3.79.1 (2004) > > 3.79.1 is ancient, the GNU version being released in June 2000 :-) > > The behaviour of > > target: macro += something > > appears to be fixed in GNU make 3.80, which was released in October 2002. > (I've just tested 3.79.1 and 3.80 from GNU's ftp site). > > Is there not an update for mingw32 for a more recent make? > > -- Jamie Of course it's ancient, but from the timestamp (if it was correct) I'd estimate that it takes 3 to 4 years to get a GNU release to windows :-) MSYS make 3.81-2 is available (and there is also a MinGW make, a make using MSVCRT). The MinGW update tool does not update MSYS make automatically (at least in my installation), and I rarely compile using mingw32 on windows (cross compilation from linux works better). So keeping MinGW/MSYS up-to-date is a little difficult. -- Stefan