X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Rod Pemberton" Newsgroups: comp.os.msdos.djgpp Subject: Re: Rebuilding 2.04 from source Date: Mon, 24 Jun 2013 16:51:14 -0400 Organization: Aioe.org NNTP Server Lines: 63 Message-ID: References: <713e6460-511d-4b27-a9a5-b07cc63fd02d AT googlegroups DOT com> NNTP-Posting-Host: CNsg4fVcCsvs3UaOgZtQCw.user.speranza.aioe.org X-Complaints-To: abuse AT aioe DOT org X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.2001 X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: Microsoft Outlook Express 6.00.2800.2001 X-Priority: 3 X-MSMail-Priority: Normal Bytes: 3398 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com wrote in message news:713e6460-511d-4b27-a9a5-b07cc63fd02d AT googlegroups DOT com... > > 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). My results with configure scripts have been it either works or it doesn't. When it doesn't, generally the code is using something the DJGPP doesn't support. When it does, the app compiles for DJGPP. I.e., if the configure script doesn't work, it's a strong indication it won't compile without some work. > > I was thinking of attempting to use HX-DOS Extender and either > > CygWin or MinGW to rebuild 2.04. Anybody have suggestions, > > guides, etc.? > > [...] > 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. MinGW in DOS with HX... Interesting. How many functions are in MSVCRT? I.e., would it be easy to port MinGW to DOS? My first question to Louis is how could MinGW rebuild DJGPP without POSIX support? CygWin has POSIX support. My second question is to Louis is why you're rebuilding version 2.04? 2.04 doesn't work as well with DOS as 2.03. There are some definate bugs with it, at least with MS-DOS v7.10. IIRC, 2.04 is designed to work better in a Windows XP console ("dosbox") window, not real-mode DOS. Rugxulo, I know I need to get an email account and get on "DOS ain't dead forums"... But, until then, could you do me another favor and let Japheth know I posted a patch for HIMEMX to comp.os.msdos.programmer? It supports multiple 001 E820h memory blocks above 1MB. If you recall, you posted a message or two there for me previously discussing the issue. If you do, thanks and sorry for the trouble... Rod Pemberton