X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Received: by 10.224.42.141 with SMTP id s13mr26814489qae.3.1372097613286; Mon, 24 Jun 2013 11:13:33 -0700 (PDT) X-Received: by 10.50.36.41 with SMTP id n9mr585140igj.11.1372097613250; Mon, 24 Jun 2013 11:13:33 -0700 (PDT) Newsgroups: comp.os.msdos.djgpp Date: Mon, 24 Jun 2013 11:13:32 -0700 (PDT) In-Reply-To: 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: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <713e6460-511d-4b27-a9a5-b07cc63fd02d@googlegroups.com> Subject: Re: Rebuilding 2.04 from source From: rugxulo AT gmail DOT com Injection-Date: Mon, 24 Jun 2013 18:13:33 +0000 Content-Type: text/plain; charset=ISO-8859-1 Bytes: 3093 Lines: 36 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r5OIU2x5011232 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 Sunday, June 23, 2013 10:38:12 PM UTC-5, Louis Santillan wrote: > > I've noticed most people have moved on from using DOS to build > the official ports.  Some use various Windows versions, others > use Linux.  To that end, I don't want to lose the ability to > "self-host" on DOS.  When others have used Windows, which win32 > tools have you used? The very few times I naively tried "./configure" under pure DOS with DJGPP Bash and LFNs enabled, it didn't work. I don't know if regenerating the script with an older DJGPP port of ACNF213B.ZIP would help or not, but I heavily doubt it (and wasn't interested enough to learn all the arcane boring details). > I was thinking of attempting to use HX-DOS Extender and either > CygWin or MinGW to rebuild 2.04.  Anybody have suggestions, guides, > etc.? I haven't really tried, but I'm 99% sure you can't use Cygwin (especially not 1.7, but probably not even 1.5 Win9x, non-Unicode version) without lots of improvements to HX. The best you can hope for is (maybe) some rare MinGW standalone tool, but even then you have to use MSVCRT (e.g. one from older ReactOS 0.3.14 seems to semi-work) and set HDPMI=32 and DPMILDR=136 or 128 or whatever. IIRC, even MSYS uses a Cygwin-compiled Bash. You can (and Juan frequently does) rebuild the libc (e.g. from CVS) in pure DOS, but there is some rare NUL bug in FreeDOS that may require one or two minor workarounds. (I don't know why exactly reading from the NUL device is ever considered wise, but whatever.) Usually I don't rebuild the libc because it feels too brittle to my tastes, but it's (apparently) not very hard. IIRC one of the Lua 5.2 threads was when Juan told me various details about it, so you could read that (or just try it and report back on any difficulty).