X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Received: by 10.224.205.65 with SMTP id fp1mr14746186qab.4.1356559157115; Wed, 26 Dec 2012 13:59:17 -0800 (PST) Newsgroups: comp.os.msdos.djgpp Date: Wed, 26 Dec 2012 13:59:16 -0800 (PST) In-Reply-To: <4ad10dac-dfeb-4e3e-a8b4-d4b536a0fe82@googlegroups.com> Complaints-To: groups-abuse AT google DOT com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=65.13.115.246; posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO NNTP-Posting-Host: 65.13.115.246 References: <16498b56-cd2f-4ef2-a146-0d3c6b86bab9 AT googlegroups DOT com> <4ad10dac-dfeb-4e3e-a8b4-d4b536a0fe82 AT googlegroups DOT com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Configure without output - noob question From: rugxulo AT gmail DOT com Injection-Date: Wed, 26 Dec 2012 21:59:17 +0000 Content-Type: text/plain; charset=ISO-8859-1 Bytes: 1931 Lines: 18 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Hi, On Wednesday, December 26, 2012 11:35:26 AM UTC-6, Maksim Soifer wrote: > > So - second round. > > i put dev enviroment to win 7 and launched directly bash.exe > > after some try and fails i got to run configure and it stalled with > > checking for offset of exit status in return status from wait... > > i run that conftest.exe dieclty from windows - program it seems dont do anything and wont close itself > > here conftest.c > > pid = fork(); DJGPP has a fork() that doesn't really work, it always fails. This is a limitation for most MS-DOS clones in general. You can check the sources to DJGPP's Bash 2.0x, it has to work around that by using sequential stuff like spawn* (P_WAIT).