From: Andrew Cottrell Newsgroups: comp.os.msdos.djgpp Subject: Re: portability problems Date: Mon, 13 Jan 2003 19:48:18 +1100 Organization: ECLiPSE Lines: 32 Message-ID: References: NNTP-Posting-Host: p27-tnt1.syd.ihug.com.au Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: lust.ihug.co.nz 1042447702 14748 203.173.128.27 (13 Jan 2003 08:48:22 GMT) X-Complaints-To: abuse AT ihug DOT co DOT nz NNTP-Posting-Date: Mon, 13 Jan 2003 08:48:22 +0000 (UTC) X-Newsreader: Forte Agent 1.92/32.572 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com >I have a small program which i'm attempting to port from unix to dos. I >installed Windows on a spare machine along with djgpp (2.03), and luckily >it didn't take much editing to get it running. > >I sent it to a couple of friends (running Win 2000 also), but it just hangs >for them, apparently doing nothing. If anyone can shed any light it would >be much appreciated. > >At the moment all the program does is list all files in C:\, decending >through each directory in turn. I've included it below : ..SNIP.. >Then sending the whatever.exe off to friends for testing- I assume it will >be standalone ? The main reason for it not working on 2K/XP: On 2K and XP MS have allot of low level incompatabilities. Some one of these critical issues have been fixed in the DJGPP 2.03 releases last year. Two solutions:- 1) Make sure you are using the latest DJDEV203.ZIP from Simtel (should be 10-Aug-2002 or later when/if one is released) 2) Grab the DJGPP 2.04 WIP from the following URL and read about the W2K/XP issues found and make sure you read the pages carefully: http://clio.rice.edu/djgpp/win2k/main.htm I built it with the DJ204 WIP (later than at the URL above) and it starts to output the info, but I stopped it as it would take ages. I assume that it worked on my XP box. Andrew