From MAILER-DAEMON Fri Dec 03 01:21:01 2004 Received: from mailman by lists.gnu.org with archive (Exim 4.33) id 1Ca6oO-0002Kt-Ts for mharc-make-w32@gnu.org; Fri, 03 Dec 2004 01:21:01 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Ca6Li-0002en-Fn for make-w32@gnu.org; Fri, 03 Dec 2004 00:51:22 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Ca6Lh-0002e8-Od for make-w32@gnu.org; Fri, 03 Dec 2004 00:51:21 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Ca6Lh-0002de-7L for make-w32@gnu.org; Fri, 03 Dec 2004 00:51:21 -0500 Received: from [64.233.184.206] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Ca6C5-00006t-7x for make-w32@gnu.org; Fri, 03 Dec 2004 00:41:25 -0500 Received: by wproxy.gmail.com with SMTP id 67so368880wri for ; Thu, 02 Dec 2004 21:41:24 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=jiwXa/HgnOsmIFIFPE0NEffL0EOKS7LlN8ZGE854LE4g9TCjIzaBjWEHHrQNfh+KdH2/5K/mhOqNqXiMrVj2ehXZClAfY9HUJtqcUDNWT9jsqG1wpcsObYX9Z8WtzJg3sELFPvZI2HbnKdH/7ulMOaAVRJx/aT4nhA4aXFtUuKs= Received: by 10.54.46.2 with SMTP id t2mr963696wrt; Thu, 02 Dec 2004 21:41:24 -0800 (PST) Received: by 10.54.42.78 with HTTP; Thu, 2 Dec 2004 21:41:24 -0800 (PST) Message-ID: <5e7c6c9d04120221414a97fb73@mail.gmail.com> Date: Fri, 3 Dec 2004 10:41:24 +0500 From: bilal khawaja To: make-w32@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Fri, 03 Dec 2004 01:20:59 -0500 Subject: gnumake for intel Itanium2 64bit X-BeenThere: make-w32@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bilal khawaja List-Id: Discussion of Windows-specific issues with GNU make List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Dec 2004 05:51:22 -0000 Hi, I am working on Intel itanium2 (64bit) on windows 2003 server and i have the gnumake.exe.and i Installing Oracle Application 11i. it's pre-req is gnumake but it's unable to find the gnumake file. i think it's make me 64bit issues. Because all things are working fine on 32 bit system when i do this. i am using gnumake.exe version 2. so can u help me what version will be resolve this issues, and from where i can get it. Waiting for ur reply Regards Khawaja Bilal From MAILER-DAEMON Mon Dec 06 11:47:59 2004 Received: from mailman by lists.gnu.org with archive (Exim 4.33) id 1CbM1n-0001Wh-87 for mharc-make-w32@gnu.org; Mon, 06 Dec 2004 11:47:59 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CaNUQ-00040l-NV for make-w32@gnu.org; Fri, 03 Dec 2004 19:09:30 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CaNUP-0003zw-JH for make-w32@gnu.org; Fri, 03 Dec 2004 19:09:29 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CaNUP-0003zn-EE for make-w32@gnu.org; Fri, 03 Dec 2004 19:09:29 -0500 Received: from [195.188.213.8] (helo=smtp-out5.blueyonder.co.uk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CaNKP-000230-LZ for make-w32@gnu.org; Fri, 03 Dec 2004 18:59:09 -0500 Received: from jguk.org ([82.39.19.92]) by smtp-out5.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.6713); Fri, 3 Dec 2004 23:59:38 +0000 Message-ID: <41B0FEFB.8080709@jguk.org> Date: Sat, 04 Dec 2004 00:04:11 +0000 From: "J. Grant" User-Agent: Mozilla/5.0 (X11; U; GNU/Linux i686; en; rv:1.5.0; hi) Gecko/20030604 X-Accept-Language: en-gb MIME-Version: 1.0 To: bilal khawaja References: <5e7c6c9d04120221414a97fb73@mail.gmail.com> In-Reply-To: <5e7c6c9d04120221414a97fb73@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 03 Dec 2004 23:59:38.0288 (UTC) FILETIME=[25A08300:01C4D994] X-Mailman-Approved-At: Mon, 06 Dec 2004 11:47:57 -0500 Cc: make-w32@gnu.org Subject: Re: gnumake for intel Itanium2 64bit X-BeenThere: make-w32@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion of Windows-specific issues with GNU make List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Dec 2004 00:09:31 -0000 Hello bilal khawaja, > I am working on Intel itanium2 (64bit) on windows 2003 server and i > have the gnumake.exe.and i Installing Oracle Application 11i. it's > pre-req is gnumake but it's unable to find the gnumake file. i think > it's make me 64bit issues. Because all things are working fine on 32 > bit system when i do this. > i am using gnumake.exe version 2. That is very old, I think you may have accidentally got the version number mixed up. The current release is v3.80 > so can u help me what version will be resolve this issues, and from > where i can get it. > Waiting for ur reply You could ask Oracle for the 64bit build, or your OS vendor. Alternatively you could download the source code and build with either MinGW or an MS compiler (if you have one). Kind regards JG -- Homepage: http://jguk.org/ Blog: http://jguk.org/blog.rss Radio: http://jguk.org/#radio From MAILER-DAEMON Mon Dec 06 11:47:59 2004 Received: from mailman by lists.gnu.org with archive (Exim 4.33) id 1CbM1n-0001Wv-Hv for mharc-make-w32@gnu.org; Mon, 06 Dec 2004 11:47:59 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CbLzn-0000uF-W2 for make-w32@gnu.org; Mon, 06 Dec 2004 11:45:56 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CbLzn-0000tn-3H for make-w32@gnu.org; Mon, 06 Dec 2004 11:45:55 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CbLzm-0000tk-SG for make-w32@gnu.org; Mon, 06 Dec 2004 11:45:55 -0500 Received: from [195.7.103.197] (helo=mail.s2m.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CbLpp-0001Me-2T for make-w32@gnu.org; Mon, 06 Dec 2004 11:35:37 -0500 Received: by FARADAY with Internet Mail Service (5.5.2657.72) id ; Mon, 6 Dec 2004 17:35:05 +0100 Message-ID: <3F1FBA2AE93AD411AA9D00E018C2C47EF14553@FARADAY> From: Gabriel NICOLAS To: "'make-w32@gnu.org'" Date: Mon, 6 Dec 2004 17:35:04 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4DBB1.8A4CF490" X-Mailman-Approved-At: Mon, 06 Dec 2004 11:47:57 -0500 Subject: S2M , Nicolas gabriel -> Need information to use make on a Win32 plateform. X-BeenThere: make-w32@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion of Windows-specific issues with GNU make List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Dec 2004 16:45:56 -0000 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C4DBB1.8A4CF490 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dear Madam, Dear Sir, =20 =20 I have worked with the GNU make utility during a while on a linux = system and I would like to use it now on a Win32 OS. =20 I have found in some web site that I need to make the executable of = make from sources on this plateform. Is there some details to know on how doing this without getting = nervous ( We should use Visual C++ to do this) ? Is there a web site where I can find these informations ( on those = of Cygwin it is not described) ? Is there a web site where I can find a packadge that can directly install it on this plateform ? =20 Thank you in advance for any response. =20 Best Regards. =20 NICOLAS Gabriel Soci=E9t=E9 de M=E9canique Magn=E9tique 2 rue des Champs - B.P. 2282 - 27950 Saint Marcel - France Soci=E9t=E9 : T=E9l=E9phone : +33 (0)2 32.64.33.00, Fax +33 (0)2 32.21.25.99 Bureau : T=E9l=E9phone : +33 (0)2.32.64.61.73 poste 453 e-mail : gabriel.nicolas@s2m.fr =20 ------_=_NextPart_001_01C4DBB1.8A4CF490 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message
Dear = Madam, Dear=20 Sir,
 
 
    I=20 have worked with the GNU make utility during a while on a linux system = and I=20 would like to use it now on a Win32 OS.
 
    I=20 have found in some web site that I need to make the executable of make = from=20 sources on this plateform.
    Is there some = details to know=20 on how doing this without getting nervous ( We should use Visual C++ to = do this)=20 ?
   =20 Is there a web site where I can find these informations ( on those of = Cygwin it=20 is not described) ?
   =20 Is there a web site where I can find a packadge that can directly = install it on=20 this plateform ?
 
Thank = you in advance=20 for any response.
 
Best=20 Regards.
 
NICOLAS Gabriel
Soci=E9t=E9 de = M=E9canique=20 Magn=E9tique
2 rue des Champs - B.P. 2282 - 27950 Saint Marcel -=20 France
Soci=E9t=E9 :
T=E9l=E9phone : +33 (0)2 32.64.33.00, Fax = +33 (0)2=20 32.21.25.99
Bureau :
T=E9l=E9phone : +33 (0)2.32.64.61.73 poste = 453
e-mail=20 : gabriel.nicolas@s2m.fr
=
------_=_NextPart_001_01C4DBB1.8A4CF490-- From MAILER-DAEMON Mon Dec 06 12:04:32 2004 Received: from mailman by lists.gnu.org with archive (Exim 4.33) id 1CbMHn-0006NS-C8 for mharc-make-w32@gnu.org; Mon, 06 Dec 2004 12:04:31 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CbMHf-0006Jg-E0 for make-w32@gnu.org; Mon, 06 Dec 2004 12:04:23 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CbMHc-0006HH-5O for make-w32@gnu.org; Mon, 06 Dec 2004 12:04:20 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CbMHb-0006HC-TY for make-w32@gnu.org; Mon, 06 Dec 2004 12:04:19 -0500 Received: from [194.175.94.133] (helo=eulink.com) by monty-python.gnu.org with esmtp (TLSv1:RC4-MD5:128) (Exim 4.34) id 1CbM7j-0005Cb-NP for make-w32@gnu.org; Mon, 06 Dec 2004 11:54:07 -0500 Received: from computer.org by eulink.com (MDaemon.PRO.v7.5.0e.R) with ESMTP id md50001198363.msg for ; Mon, 06 Dec 2004 17:54:01 +0100 X-Authenticated-Sender: mr@eulink.com X-MDRemoteIP: 193.81.246.97 X-Return-Path: j.bezem@computer.org X-MDaemon-Deliver-To: make-w32@gnu.org Message-ID: <41B48E9B.6040901@computer.org> Date: Mon, 06 Dec 2004 17:53:47 +0100 From: Johan Bezem Organization: JB Enterprises User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en, de, nl, fr, el, af, it, es MIME-Version: 1.0 To: "'make-w32@gnu.org'" References: <3F1FBA2AE93AD411AA9D00E018C2C47EF14553@FARADAY> In-Reply-To: <3F1FBA2AE93AD411AA9D00E018C2C47EF14553@FARADAY> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Processed: eulink.com, Mon, 06 Dec 2004 17:54:05 +0100 X-MDAV-Processed: eulink.com, Mon, 06 Dec 2004 17:54:08 +0100 Subject: Re: S2M , Nicolas gabriel -> Need information to use make on a Win32 plateform. X-BeenThere: make-w32@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion of Windows-specific issues with GNU make List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Dec 2004 17:04:25 -0000 Hi, if you use cygwin, start the cygwin setup.exe, and in the category for development make sure to select the make-package. That will install the executable, to be called with 'make' from the regular (bash?) prompt in Cygwin. In this case you do not need to build 'make' yourself from the sources (although you can, if you want...). HTH, Johan Gabriel NICOLAS wrote: > ... > I have found in some web site that I need to make the executable of make > from sources on this plateform. > Is there some details to know on how doing this without getting nervous > ( We should use Visual C++ to do this) ? > Is there a web site where I can find these informations ( on those of > Cygwin it is not described) ? > Is there a web site where I can find a packadge that can directly > install it on this plateform ? -- JB Enterprises - Johan Bezem Tel: +49 172 5463210 Software Architect - Project Manager Fax: +49 172 50 5463210 Realtime / Embedded Consultant Email: j.bezem@computer.org Design - Development - Test - QA Web: http://www.bezem.de From MAILER-DAEMON Mon Dec 06 12:15:55 2004 Received: from mailman by lists.gnu.org with archive (Exim 4.33) id 1CbMSp-0002jL-1d for mharc-make-w32@gnu.org; Mon, 06 Dec 2004 12:15:55 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CbMRJ-0002Np-Ei for make-w32@gnu.org; Mon, 06 Dec 2004 12:14:21 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CbMRI-0002MN-4K for make-w32@gnu.org; Mon, 06 Dec 2004 12:14:20 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CbMRI-0002ME-0V for make-w32@gnu.org; Mon, 06 Dec 2004 12:14:20 -0500 Received: from [64.233.170.193] (helo=rproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CbMHU-0007N9-8Y for make-w32@gnu.org; Mon, 06 Dec 2004 12:04:13 -0500 Received: by rproxy.gmail.com with SMTP id i8so121685rne for ; Mon, 06 Dec 2004 09:04:11 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=SvoHdJGHPYdVmJsiQeG6npe2CbN0xXC5Hq9+P9ezaUs4rioraZNn/aogS7O2TJQbfEVEuvcAnsPpGf/czyFuKkEp6KJBNNg74uzK34LvHvi2LhvauMPK7U24lPWQAm5BG4nO2S5sZIlcSaqLoCM1Xn6idrpEZMR5/Fn3VcmiepE= Received: by 10.38.97.70 with SMTP id u70mr549479rnb; Mon, 06 Dec 2004 09:04:11 -0800 (PST) Received: by 10.38.14.65 with HTTP; Mon, 6 Dec 2004 09:04:11 -0800 (PST) Message-ID: Date: Mon, 6 Dec 2004 10:04:11 -0700 From: Mike Gibson To: "make-w32@gnu.org" In-Reply-To: <3F1FBA2AE93AD411AA9D00E018C2C47EF14553@FARADAY> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <3F1FBA2AE93AD411AA9D00E018C2C47EF14553@FARADAY> X-Mailman-Approved-At: Mon, 06 Dec 2004 12:15:53 -0500 Subject: Re: S2M , Nicolas gabriel -> Need information to use make on a Win32 plateform. X-BeenThere: make-w32@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mike Gibson List-Id: Discussion of Windows-specific issues with GNU make List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Dec 2004 17:14:21 -0000 On Mon, 6 Dec 2004 17:35:04 +0100, Gabriel NICOLAS wrote: > > Dear Madam, Dear Sir, > > > I have worked with the GNU make utility during a while on a linux system > and I would like to use it now on a Win32 OS. > > I have found in some web site that I need to make the executable of make > from sources on this plateform. > Is there some details to know on how doing this without getting nervous > ( We should use Visual C++ to do this) ? > Is there a web site where I can find these informations ( on those of > Cygwin it is not described) ? > Is there a web site where I can find a packadge that can directly > install it on this plateform ? If you're going to be using make for building from something other than cygwin, I wouldn't suggest cygwin. It simply doesn't support the windows OS very well when trying to use make. I would suggest going to the MINGW project. They have a copy of make that doesn't require a DLL or other such difficulty. http://www.mingw.org/download.shtml Mike Gibson From MAILER-DAEMON Mon Dec 06 12:21:48 2004 Received: from mailman by lists.gnu.org with archive (Exim 4.33) id 1CbMYW-0003yT-OK for mharc-make-w32@gnu.org; Mon, 06 Dec 2004 12:21:48 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CbMYV-0003y8-0U for make-w32@gnu.org; Mon, 06 Dec 2004 12:21:47 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CbMYT-0003xU-Ra for make-w32@gnu.org; Mon, 06 Dec 2004 12:21:46 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CbMYT-0003xK-Lw for make-w32@gnu.org; Mon, 06 Dec 2004 12:21:45 -0500 Received: from [47.129.242.57] (helo=zcars04f.nortelnetworks.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CbMOJ-0000U1-CZ for make-w32@gnu.org; Mon, 06 Dec 2004 12:11:15 -0500 Received: from zrtps0m6.us.nortel.com (zrtps0m6.us.nortel.com [47.140.192.58]) by zcars04f.nortelnetworks.com (Switch-2.2.6/Switch-2.2.0) with ESMTP id iB6HBC629813; Mon, 6 Dec 2004 12:11:12 -0500 (EST) Received: from lemming.engeast.baynetworks.com (mail@lemming.engeast.baynetworks.com [47.17.140.90]) by zrtps0m6.us.nortel.com (Switch-2.2.6/Switch-2.2.0) with ESMTP id iB6HB9902451; Mon, 6 Dec 2004 12:11:09 -0500 (EST) Received: from psmith by lemming.engeast.baynetworks.com with local (Exim 3.36 #1 (Debian)) id 1CbMOD-00049t-00; Mon, 06 Dec 2004 12:11:09 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16820.37548.611954.956359@lemming.engeast.baynetworks.com> Date: Mon, 6 Dec 2004 12:11:08 -0500 To: Johan Bezem In-Reply-To: <41B48E9B.6040901@computer.org> References: <3F1FBA2AE93AD411AA9D00E018C2C47EF14553@FARADAY> <41B48E9B.6040901@computer.org> X-Mailer: VM 7.19 under Emacs 21.3.1 From: "Paul D. Smith" Organization: GNU's Not Unix! Sender: Paul Smith Cc: "'make-w32@gnu.org'" Subject: Re: S2M , Nicolas gabriel -> Need information to use make on a Win32 plateform. X-BeenThere: make-w32@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Paul D. Smith" List-Id: Discussion of Windows-specific issues with GNU make List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Dec 2004 17:21:47 -0000 %% Johan Bezem writes: jb> if you use cygwin, start the cygwin setup.exe, and in the category jb> for development make sure to select the make-package. That will jb> install the executable, to be called with 'make' from the regular jb> (bash?) prompt in Cygwin. In this case you do not need to build jb> 'make' yourself from the sources (although you can, if you jb> want...). Please be aware that the version of GNU make that comes with cygwin is not the same version that is provided by the FSF; there have been modifications to the cygwin version. If you have Windows-specific problems with the cygwin version you should ask on the cygwin lists first. Good luck! -- ------------------------------------------------------------------------------- Paul D. Smith Find some GNU make tips at: http://www.gnu.org http://make.paulandlesley.org "Please remain calm...I may be mad, but I am a professional." --Mad Scientist From MAILER-DAEMON Mon Dec 06 12:25:51 2004 Received: from mailman by lists.gnu.org with archive (Exim 4.33) id 1CbMcQ-0004Qo-V4 for mharc-make-w32@gnu.org; Mon, 06 Dec 2004 12:25:51 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CbMcP-0004QJ-QI for make-w32@gnu.org; Mon, 06 Dec 2004 12:25:49 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CbMcP-0004Pw-3K for make-w32@gnu.org; Mon, 06 Dec 2004 12:25:49 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CbMcO-0004Pt-Vc for make-w32@gnu.org; Mon, 06 Dec 2004 12:25:49 -0500 Received: from [194.175.94.133] (helo=eulink.com) by monty-python.gnu.org with esmtp (TLSv1:RC4-MD5:128) (Exim 4.34) id 1CbMSI-0001N0-F5 for make-w32@gnu.org; Mon, 06 Dec 2004 12:15:22 -0500 Received: from computer.org by eulink.com (MDaemon.PRO.v7.5.0e.R) with ESMTP id md50001198442.msg for ; Mon, 06 Dec 2004 18:15:19 +0100 X-Authenticated-Sender: mr@eulink.com X-MDRemoteIP: 193.81.246.97 X-Return-Path: j.bezem@computer.org X-MDaemon-Deliver-To: make-w32@gnu.org Message-ID: <41B4939F.1090706@computer.org> Date: Mon, 06 Dec 2004 18:15:11 +0100 From: Johan Bezem Organization: JB Enterprises User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en, de, nl, fr, el, af, it, es MIME-Version: 1.0 To: "make-w32@gnu.org" References: <3F1FBA2AE93AD411AA9D00E018C2C47EF14553@FARADAY> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Processed: eulink.com, Mon, 06 Dec 2004 18:15:22 +0100 X-MDAV-Processed: eulink.com, Mon, 06 Dec 2004 18:15:23 +0100 Subject: Re: S2M , Nicolas gabriel -> Need information to use make on a Win32 plateform. X-BeenThere: make-w32@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion of Windows-specific issues with GNU make List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Dec 2004 17:25:50 -0000 Mike Gibson wrote: > ... > If you're going to be using make for building from something other > than cygwin, I wouldn't suggest cygwin. It simply doesn't support the > windows OS very well when trying to use make. I would suggest going > to the MINGW project. They have a copy of make that doesn't require a > DLL or other such difficulty. As an aside: I'm using a Cygwin-bash, running make, to have various compilers (including Microsoft VS x.x) create their respective executables (embedded Systems, cross-platform development). I'm not using Cygwin-GCC to create windows executables, which would require the Cygwin-DLL on all deployment-PC's... Johan -- JB Enterprises - Johan Bezem Tel: +49 172 5463210 Software Architect - Project Manager Fax: +49 172 50 5463210 Realtime / Embedded Consultant Email: j.bezem@computer.org Design - Development - Test - QA Web: http://www.bezem.de From MAILER-DAEMON Tue Dec 14 13:24:52 2004 Received: from mailman by lists.gnu.org with archive (Exim 4.33) id 1CeHLw-0001wV-LQ for mharc-make-w32@gnu.org; Tue, 14 Dec 2004 13:24:52 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CeHLu-0001wF-Am for make-w32@gnu.org; Tue, 14 Dec 2004 13:24:50 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CeHLs-0001ve-Td for make-w32@gnu.org; Tue, 14 Dec 2004 13:24:49 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CeHLs-0001vE-Q0 for make-w32@gnu.org; Tue, 14 Dec 2004 13:24:48 -0500 Received: from [194.243.254.162] (helo=north.tana.it) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CeHA0-0007Ol-28 for make-w32@gnu.org; Tue, 14 Dec 2004 13:12:32 -0500 Received: from tana.it (pcale.tana.it [194.243.254.185]) by north.tana.it (8.11.7+Sun/8.8.5) with ESMTP id iBEIBU217269 for ; Tue, 14 Dec 2004 19:11:30 +0100 (CET) Message-ID: <41BF2CD1.2A222CE0@tana.it> Date: Tue, 14 Dec 2004 19:11:29 +0100 From: Alessandro Vesely X-Mailer: Mozilla 4.78 [en] (Win98; U) X-Accept-Language: it,en MIME-Version: 1.0 To: make-w32@gnu.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Bug in sub_proc.c: what to patch? X-BeenThere: make-w32@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion of Windows-specific issues with GNU make List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Dec 2004 18:24:50 -0000 Hi, the $(shell slow_command_line) does not work on win32 because make first builds a temporary batch file and then tries to execute it via CreateProcess() as if it was an executable module. If slow_comman_line requires a shell, that is. Curiously, the win32 specific function scans the file looking for a "#! /blah" shebang before invoking the CreateProcess. I doubt that feature might be useful for anything, as it would require creating a `#!.bat' file to be clled by the command interpreter... I'm particularly concerned because I once patched glob/glob.c for a working $(wildcard CaSeInSeNsItIvE) but the patch was not taken because the function is imported from some other project... Is that the case also with w32/subproc/sub_proc.c? From MAILER-DAEMON Tue Dec 14 15:07:57 2004 Received: from mailman by lists.gnu.org with archive (Exim 4.33) id 1CeIxg-000640-MR for mharc-make-w32@gnu.org; Tue, 14 Dec 2004 15:07:56 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CeIxd-0005yc-Em for make-w32@gnu.org; Tue, 14 Dec 2004 15:07:53 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CeIxa-0005ua-5P for make-w32@gnu.org; Tue, 14 Dec 2004 15:07:50 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CeIxZ-0005so-2x for make-w32@gnu.org; Tue, 14 Dec 2004 15:07:49 -0500 Received: from [47.140.192.56] (helo=zrtps0kp.nortelnetworks.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CeIlz-0005V8-CL for make-w32@gnu.org; Tue, 14 Dec 2004 14:55:51 -0500 Received: from zrtps0m6.us.nortel.com (zrtps0m6.us.nortel.com [47.140.192.58]) by zrtps0kp.nortelnetworks.com (Switch-2.2.6/Switch-2.2.0) with ESMTP id iBEJtlF03874; Tue, 14 Dec 2004 14:55:48 -0500 (EST) Received: from lemming.engeast.baynetworks.com (mail@lemming.engeast.baynetworks.com [47.17.140.90]) by zrtps0m6.us.nortel.com (Switch-2.2.6/Switch-2.2.0) with ESMTP id iBEJtjY07956; Tue, 14 Dec 2004 14:55:45 -0500 (EST) Received: from psmith by lemming.engeast.baynetworks.com with local (Exim 3.36 #1 (Debian)) id 1CeIlt-0000aU-00; Tue, 14 Dec 2004 14:55:45 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16831.17728.914075.245346@lemming.engeast.baynetworks.com> Date: Tue, 14 Dec 2004 14:55:44 -0500 To: Alessandro Vesely In-Reply-To: <41BF2CD1.2A222CE0@tana.it> References: <41BF2CD1.2A222CE0@tana.it> X-Mailer: VM 7.19 under Emacs 21.3.1 From: "Paul D. Smith" Organization: GNU's Not Unix! Sender: Paul Smith Cc: make-w32@gnu.org Subject: Re: Bug in sub_proc.c: what to patch? X-BeenThere: make-w32@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Paul D. Smith" List-Id: Discussion of Windows-specific issues with GNU make List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Dec 2004 20:07:54 -0000 %% Alessandro Vesely writes: av> I'm particularly concerned because I once patched av> glob/glob.c for a working $(wildcard CaSeInSeNsItIvE) av> but the patch was not taken because the function is av> imported from some other project... Is that the case av> also with w32/subproc/sub_proc.c? No. Everything under w32 was built and delivered specifically for GNU make. -- ------------------------------------------------------------------------------- Paul D. Smith Find some GNU make tips at: http://www.gnu.org http://make.paulandlesley.org "Please remain calm...I may be mad, but I am a professional." --Mad Scientist From MAILER-DAEMON Fri Dec 17 10:55:37 2004 Received: from mailman by lists.gnu.org with archive (Exim 4.33) id 1CfKS9-0003GD-Gi for mharc-make-w32@gnu.org; Fri, 17 Dec 2004 10:55:37 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CfKS6-0003Ex-F9 for make-w32@gnu.org; Fri, 17 Dec 2004 10:55:34 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CfKS4-0003EC-Kb for make-w32@gnu.org; Fri, 17 Dec 2004 10:55:33 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CfKS4-0003DD-HO for make-w32@gnu.org; Fri, 17 Dec 2004 10:55:32 -0500 Received: from [66.235.198.175] (helo=progw.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1CfKGH-0006Yk-Hv for make-w32@gnu.org; Fri, 17 Dec 2004 10:43:21 -0500 Received: (qmail 2170 invoked by uid 65534); 17 Dec 2004 15:44:37 -0000 Received: from 216.192.135.8 (SquirrelMail authenticated user mylists@progw.org); by mail.progw.org with HTTP; Fri, 17 Dec 2004 10:44:36 -0500 (EST) Message-ID: <3086.216.192.135.8.1103298276.squirrel@216.192.135.8> In-Reply-To: <41BF2CD1.2A222CE0@tana.it> References: <41BF2CD1.2A222CE0@tana.it> Date: Fri, 17 Dec 2004 10:44:36 -0500 (EST) From: "Earnie Boyd" To: make-w32@gnu.org User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: Bug in sub_proc.c: what to patch? X-BeenThere: make-w32@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion of Windows-specific issues with GNU make List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Dec 2004 15:55:35 -0000 > > Curiously, the win32 specific function scans the file > looking for a "#! /blah" shebang before invoking the > CreateProcess. I doubt that feature might be useful > for anything, as it would require creating a `#!.bat' > file to be clled by the command interpreter... > IIRC, it will execute sh.exe if one exists and pass a file beginning with #! to it. One might have sh.exe because of Cygwin or MSYS or Win32 versions of zsh or ksh. Earnie -- http://www.mingw.org http://sourceforge.net/projects/mingw https://sourceforge.net/donate/index.php?user_id=15438 From MAILER-DAEMON Fri Dec 17 13:29:10 2004 Received: from mailman by lists.gnu.org with archive (Exim 4.33) id 1CfMqj-0007GV-UY for mharc-make-w32@gnu.org; Fri, 17 Dec 2004 13:29:10 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CfMqh-0007FX-Ob for make-w32@gnu.org; Fri, 17 Dec 2004 13:29:07 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CfMqg-0007F0-6w for make-w32@gnu.org; Fri, 17 Dec 2004 13:29:06 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CfMqg-0007EJ-0q for make-w32@gnu.org; Fri, 17 Dec 2004 13:29:06 -0500 Received: from [194.243.254.162] (helo=north.tana.it) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CfMe7-0004Xr-Cv for make-w32@gnu.org; Fri, 17 Dec 2004 13:16:08 -0500 Received: from tana.it (pcale.tana.it [194.243.254.185]) by north.tana.it (8.11.7+Sun/8.8.5) with ESMTP id iBHIFAF14187 for ; Fri, 17 Dec 2004 19:15:10 +0100 (CET) Message-ID: <41C3222E.7A022717@tana.it> Date: Fri, 17 Dec 2004 19:15:10 +0100 From: Alessandro Vesely X-Mailer: Mozilla 4.78 [en] (Win98; U) X-Accept-Language: it,en MIME-Version: 1.0 To: make-w32@gnu.org References: <41BF2CD1.2A222CE0@tana.it> <3086.216.192.135.8.1103298276.squirrel@216.192.135.8> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: Bug in sub_proc.c: what to patch? X-BeenThere: make-w32@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion of Windows-specific issues with GNU make List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Dec 2004 18:29:08 -0000 Earnie Boyd wrote: > > > > > > Curiously, the win32 specific function scans the file > > looking for a "#! /blah" shebang before invoking the > > CreateProcess. I doubt that feature might be useful > > for anything, as it would require creating a `#!.bat' > > file to be clled by the command interpreter... > > > > IIRC, it will execute sh.exe if one exists and pass a file beginning with > #! to it. One might have sh.exe because of Cygwin or MSYS or Win32 > versions of zsh or ksh. Yes, you'right. I use MSYS, but it works so smoothly that I keep forgetting it is still Windows. Anyway, it is possible to patch that code so that it also works when using cmd.exe or command.com. I'm gonna do that soon. BTW, what about a read-only variable reporting if the shell is unixy? One could then write, e.g. $(if $(NOT_UNIX),if exist *.obj del *.obj,rm -f *.obj) From MAILER-DAEMON Fri Dec 17 13:38:35 2004 Received: from mailman by lists.gnu.org with archive (Exim 4.33) id 1CfMzq-0002KQ-Oz for mharc-make-w32@gnu.org; Fri, 17 Dec 2004 13:38:34 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CfMzo-0002Jh-TL for make-w32@gnu.org; Fri, 17 Dec 2004 13:38:33 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CfMzl-0002IB-Np for make-w32@gnu.org; Fri, 17 Dec 2004 13:38:31 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CfMzl-0002Hc-IJ for make-w32@gnu.org; Fri, 17 Dec 2004 13:38:29 -0500 Received: from [47.140.192.56] (helo=zrtps0kp.nortelnetworks.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CfMox-0008My-Ed for make-w32@gnu.org; Fri, 17 Dec 2004 13:27:19 -0500 Received: from zrtps0m6.us.nortel.com (zrtps0m6.us.nortel.com [47.140.192.58]) by zrtps0kp.nortelnetworks.com (Switch-2.2.6/Switch-2.2.0) with ESMTP id iBHIR2q01779; Fri, 17 Dec 2004 13:27:02 -0500 (EST) Received: from lemming.engeast.baynetworks.com (mail@lemming.engeast.baynetworks.com [47.17.140.90]) by zrtps0m6.us.nortel.com (Switch-2.2.6/Switch-2.2.0) with ESMTP id iBHIR0k24758; Fri, 17 Dec 2004 13:27:00 -0500 (EST) Received: from psmith by lemming.engeast.baynetworks.com with local (Exim 3.36 #1 (Debian)) id 1CfMod-0000na-00; Fri, 17 Dec 2004 13:26:59 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16835.9458.599548.413470@lemming.engeast.baynetworks.com> Date: Fri, 17 Dec 2004 13:26:58 -0500 To: Alessandro Vesely In-Reply-To: <41C3222E.7A022717@tana.it> References: <41BF2CD1.2A222CE0@tana.it> <3086.216.192.135.8.1103298276.squirrel@216.192.135.8> <41C3222E.7A022717@tana.it> X-Mailer: VM 7.19 under Emacs 21.3.1 From: "Paul D. Smith" Organization: GNU's Not Unix! Sender: Paul Smith Cc: make-w32@gnu.org Subject: Re: Bug in sub_proc.c: what to patch? X-BeenThere: make-w32@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Paul D. Smith" List-Id: Discussion of Windows-specific issues with GNU make List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Dec 2004 18:38:33 -0000 %% Alessandro Vesely writes: av> BTW, what about a read-only variable reporting if the shell av> is unixy? But that's a runtime determination, not a compile-time determination... isn't it? And if it is, then shouldn't it be done by the makefile, not make? -- ------------------------------------------------------------------------------- Paul D. Smith Find some GNU make tips at: http://www.gnu.org http://make.paulandlesley.org "Please remain calm...I may be mad, but I am a professional." --Mad Scientist From MAILER-DAEMON Fri Dec 17 19:10:38 2004 Received: from mailman by lists.gnu.org with archive (Exim 4.33) id 1CfSBB-0006c3-02 for mharc-make-w32@gnu.org; Fri, 17 Dec 2004 19:10:37 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CfSB7-0006XA-DG for make-w32@gnu.org; Fri, 17 Dec 2004 19:10:34 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CfSB5-0006W8-By for make-w32@gnu.org; Fri, 17 Dec 2004 19:10:31 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CfSB4-0006VJ-GU for make-w32@gnu.org; Fri, 17 Dec 2004 19:10:30 -0500 Received: from [66.235.198.175] (helo=progw.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1CfS0g-0002JM-Ak for make-w32@gnu.org; Fri, 17 Dec 2004 18:59:46 -0500 Received: (qmail 75598 invoked by uid 65534); 18 Dec 2004 00:01:05 -0000 Received: from 216.192.152.5 (SquirrelMail authenticated user mylists@progw.org); by mail.progw.org with HTTP; Fri, 17 Dec 2004 19:01:05 -0500 (EST) Message-ID: <4712.216.192.152.5.1103328065.squirrel@216.192.152.5> In-Reply-To: <41C3222E.7A022717@tana.it> References: <41BF2CD1.2A222CE0@tana.it> <3086.216.192.135.8.1103298276.squirrel@216.192.135.8> <41C3222E.7A022717@tana.it> Date: Fri, 17 Dec 2004 19:01:05 -0500 (EST) From: "Earnie Boyd" To: make-w32@gnu.org User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: Bug in sub_proc.c: what to patch? X-BeenThere: make-w32@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion of Windows-specific issues with GNU make List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Dec 2004 00:10:35 -0000 > Earnie Boyd wrote: >> >> >> > >> > Curiously, the win32 specific function scans the file >> > looking for a "#! /blah" shebang before invoking the >> > CreateProcess. I doubt that feature might be useful >> > for anything, as it would require creating a `#!.bat' >> > file to be clled by the command interpreter... >> > >> >> IIRC, it will execute sh.exe if one exists and pass a file beginning >> with >> #! to it. One might have sh.exe because of Cygwin or MSYS or Win32 >> versions of zsh or ksh. > > Yes, you'right. I use MSYS, but it works so smoothly that I > keep forgetting it is still Windows. Anyway, it is possible > to patch that code so that it also works when using cmd.exe > or command.com. I'm gonna do that soon. > The make provided by MSYS is a copy of some version of source from Cygwin. There are local modifications that are not present in the official source. It also uses the unix source path instead of the Win32 source path. > BTW, what about a read-only variable reporting if the shell > is unixy? One could then write, e.g. > > $(if $(NOT_UNIX),if exist *.obj del *.obj,rm -f *.obj) > You mean a runtime environment variable? Nothing that I would use as a portable method. The shell bit would need to be set at runtime. Besides, I could have fileutils installed without a shell and use rm -f for RM anyway. You should be sure to check the predefined variables such as RM, CC, etc and set those appropriately based on the runtime environment then use the variable in the command. clean: $(RM) *.obj Earnie -- http://www.mingw.org http://sourceforge.net/projects/mingw https://sourceforge.net/donate/index.php?user_id=15438 From MAILER-DAEMON Sat Dec 18 04:40:15 2004 Received: from mailman by lists.gnu.org with archive (Exim 4.33) id 1Cfb4R-0002Is-69 for mharc-make-w32@gnu.org; Sat, 18 Dec 2004 04:40:15 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Cfb4O-0002IR-Oq for make-w32@gnu.org; Sat, 18 Dec 2004 04:40:12 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Cfb4M-0002Hc-1H for make-w32@gnu.org; Sat, 18 Dec 2004 04:40:10 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cfb4L-0002HZ-OW for make-w32@gnu.org; Sat, 18 Dec 2004 04:40:09 -0500 Received: from [194.243.254.162] (helo=north.tana.it) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CfatX-0007Sx-IK for make-w32@gnu.org; Sat, 18 Dec 2004 04:28:59 -0500 Received: from tana.it (pcale.tana.it [194.243.254.185]) by north.tana.it (8.11.7+Sun/8.8.5) with ESMTP id iBI8Nu312747 for ; Sat, 18 Dec 2004 09:23:56 +0100 (CET) Message-ID: <41C3E91B.7C0E0466@tana.it> Date: Sat, 18 Dec 2004 09:23:55 +0100 From: Alessandro Vesely X-Mailer: Mozilla 4.78 [en] (Win98; U) X-Accept-Language: it,en MIME-Version: 1.0 To: make-w32@gnu.org References: <41BF2CD1.2A222CE0@tana.it> <3086.216.192.135.8.1103298276.squirrel@216.192.135.8> <41C3222E.7A022717@tana.it> <16835.9458.599548.413470@lemming.engeast.baynetworks.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: Bug in sub_proc.c: what to patch? X-BeenThere: make-w32@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion of Windows-specific issues with GNU make List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Dec 2004 09:40:13 -0000 "Paul D. Smith" wrote: > > %% Alessandro Vesely writes: > > av> BTW, what about a read-only variable reporting if the shell > av> is unixy? > > But that's a runtime determination, not a compile-time > determination... isn't it? yes > And if it is, then shouldn't it be done by the makefile, not make? Makefile may know if it is win32 from the drive letter, e.g. ifeq "" "$(strip $(patsubst /%,,$(firstword $(CURDIR))))" ARCH = unix # unixy shell is implied here else ARCH = win32 endif but I have no idea how to determine the shell flavour. From MAILER-DAEMON Sat Dec 18 04:40:15 2004 Received: from mailman by lists.gnu.org with archive (Exim 4.33) id 1Cfb4R-0002Iy-Cf for mharc-make-w32@gnu.org; Sat, 18 Dec 2004 04:40:15 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Cfb4P-0002IS-6W for make-w32@gnu.org; Sat, 18 Dec 2004 04:40:13 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Cfb4M-0002Hj-DA for make-w32@gnu.org; Sat, 18 Dec 2004 04:40:11 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cfb4M-0002HZ-2E for make-w32@gnu.org; Sat, 18 Dec 2004 04:40:10 -0500 Received: from [194.243.254.162] (helo=north.tana.it) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CfatZ-0007TF-0v for make-w32@gnu.org; Sat, 18 Dec 2004 04:29:01 -0500 Received: from tana.it (pcale.tana.it [194.243.254.185]) by north.tana.it (8.11.7+Sun/8.8.5) with ESMTP id iBI9QpE12756 for ; Sat, 18 Dec 2004 10:26:51 +0100 (CET) Message-ID: <41C3F7DA.B7EE477A@tana.it> Date: Sat, 18 Dec 2004 10:26:50 +0100 From: Alessandro Vesely X-Mailer: Mozilla 4.78 [en] (Win98; U) X-Accept-Language: it,en MIME-Version: 1.0 To: make-w32@gnu.org References: <41BF2CD1.2A222CE0@tana.it> <3086.216.192.135.8.1103298276.squirrel@216.192.135.8> <41C3222E.7A022717@tana.it> <4712.216.192.152.5.1103328065.squirrel@216.192.152.5> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: Bug in sub_proc.c: what to patch? X-BeenThere: make-w32@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion of Windows-specific issues with GNU make List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Dec 2004 09:40:14 -0000 Earnie Boyd wrote: > > The make provided by MSYS is a copy of some version of source from Cygwin. I use my own one, with equally good results. > > BTW, what about a read-only variable reporting if the shell > > is unixy? One could then write, e.g. > > > > $(if $(NOT_UNIX),if exist *.obj del *.obj,rm -f *.obj) > > > > You mean a runtime environment variable? yup > Nothing that I would use as a portable method. On Unix it would just be undefined > The shell bit would need to be set at runtime. yup > Besides, I could have fileutils installed without a shell and use > rm -f for RM anyway. Having assumed that non-shell users are not required to have fileutils, a portable makefile cannot take advantage of rm.exe being there. > You should be sure to check the predefined variables such as RM, > CC, etc and set those appropriately based on the runtime environment then > use the variable in the command. > > > clean: > $(RM) *.obj > Hmmm... on Windows it should have been $(call RM,*.obj). In fact the del command doesn't sport a -f option. Another often used function is `$(subst /,\,$(1))', which one needs to build non-unixy command lines with a path on any of the runnable or the redirected file names. (Assuming that the makefile always uses forward slashes internally.) header_generator := $(SOMEDIR)/myfoo.exe generated_header := $(INCDIR)/bar.h $(generated_header): $(header_generator) $(call slashed,$(header_generator)) > $(call slashed,$(generated_header)) Also, if you cannot `test -d foo' you have to resort to testing `if exist foo\*.*' (which only works on non-empty directories.) Then, if one day a unixy sh.exe makes its way to a user's PATH, rather than taking advantage of it, the makefile stops working, vomiting failures that originate from incompatible command syntax.