Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com List-Unsubscribe: List-Archive: List-Help: , Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: "Josh Baudhuin" To: "Cygwin Maillist" Subject: B20/B20.1: Odd problems w/ make: vfork & execvp Date: Thu, 29 Jul 1999 16:19:07 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 I was using the B20 copy of make, and had a '-gz' rule for gunzipping certain files in my Makefile. For whatever reason, recently, I've begun to get this error message (one for each *-gz file targeted): The heap has been split, CYGWIN can't fork this process. Increase the heap_chunk_size in the registry and try again. gnumake: vfork: Not enough space rm -f ../src/lic/lmgr326b.dll ../src/lic/lmgr326b.dll-tmp ; \ mv -f ../src/lic/lmgr326b.dll-gz ../src/lic/lmgr326b.dll-tmp ; \ cp ../src/lic/lmgr326b.dll-tmp ../src/lic/lmgr326b.dll-gz ; \ gunzip -q -S -gz ../src/lic/lmgr326b.dll ; \ mv ../src/lic/lmgr326b.dll-tmp ../src/lic/lmgr326b.dll-gz ; \ chmod a+r,a-w ../src/lic/lmgr326b.dll (The commands below the 'gnumake' line are what is supposed to be executed for a given *-gz target, i.e., the rule reads: -gz: rm -f $* $*-tmp ; \ mv -f $*-gz $*-tmp ; \ cp $*-tmp $*-gz ; \ gunzip -q -S -gz $* ; \ mv $*-tmp $*-gz ; \ chmod a+r,a-w $* ) I can't find an entry for 'heap_chunk_size' anywhere--I don't find it in any of the documentation. So I decided to upgrade to B20.1. I set MAKE_MODE to UNIX, and try again. But now I get the following unsatisfactory result: gnumake: execvp: /bin/sh.exe: Invalid argument gnumake: *** [../src/winhelp/whatsnew_pcb.hlp] Error 127 rm -f ../src/lic/lmgr326b.dll ../src/lic/lmgr326b.dll-tmp ; \ mv -f ../src/lic/lmgr326b.dll-gz ../src/lic/lmgr326b.dll-tmp ; \ cp ../src/lic/lmgr326b.dll-tmp ../src/lic/lmgr326b.dll-gz ; \ gunzip -q -S -gz ../src/lic/lmgr326b.dll ; \ mv ../src/lic/lmgr326b.dll-tmp ../src/lic/lmgr326b.dll-gz ; \ chmod a+r,a-w ../src/lic/lmgr326b.dll So something seems to be "up" with execvp(). This used to work pretty handily. Is my machine getting rotten or something? ____________________________ Josh Baudhuin Cadence Design Systems, Inc. joshb AT cadence DOT com Week of 28 June: In office Tu Th 408/342-5586 at home M W F 415/255-7585 -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com