X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Received: by 10.237.51.100 with SMTP id u91mr9572546qtd.16.1503187486042; Sat, 19 Aug 2017 17:04:46 -0700 (PDT) X-Received: by 10.31.5.203 with SMTP id 194mr143793vkf.29.1503187485971; Sat, 19 Aug 2017 17:04:45 -0700 (PDT) Newsgroups: comp.os.msdos.djgpp Date: Sat, 19 Aug 2017 17:04:45 -0700 (PDT) In-Reply-To: <7ef7ab60-4b43-4532-8588-d868a8779556@googlegroups.com> Complaints-To: groups-abuse AT google DOT com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2601:1c2:4d01:1d80:567:ae4d:9543:4670; posting-account=05hOMwoAAAB6R8xtiQKzEljSMzgOhVF1 NNTP-Posting-Host: 2601:1c2:4d01:1d80:567:ae4d:9543:4670 References: <9bcb9951-b631-4c05-b82d-6a85e797b862 AT googlegroups DOT com> <7ef7ab60-4b43-4532-8588-d868a8779556 AT googlegroups DOT com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: please make djgpp host binaries work on x64 (a type of WinPE) From: "Jim Michaels (jmichae3 AT yahoo DOT com) [via djgpp AT delorie DOT com]" Injection-Date: Sun, 20 Aug 2017 00:04:46 +0000 Content-Type: text/plain; charset="UTF-8" Bytes: 3788 Lines: 50 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 v7K0F2xt028084 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 On Tuesday, April 11, 2017 at 6:23:43 PM UTC-7, rug DOT DOT DOT AT gmail DOT com wrote: > Hi, > > On Tuesday, April 11, 2017 at 2:56:43 PM UTC-5, Jim Michaels wrote: > > > > please make djgpp compiler host binaries and utilities work on x64, > > which is a version of the WinPE format. > > Jim, it's just not going to happen. We're lucky that DOS works on any > semi-recent machines anymore. It's asking for a miracle, it's that > hard. Don't keep getting your hopes up! :-( > > Do you even have any UEFI machines? (I don't.) Do they all have CSMs? > Do you boot DOS natively and/or by bootable USB? (I do.) Do any of > your machines have VT-X with "unrestricted guest mode"? (Only this > desktop does.) I am using a UEFI machine with CSM. ASUS P9x79 deluxe v1.0 the kinds of changes I am asking for might require working with the WIN32 API as a host which is documented on MSDN use bing or google to find msdn, and a change to the format of the executable of the compiler. it may run on DPMI for XP since XP 32-bit runs DOS stuff because it has command.com but x64 does not have a command.com. you would have to make a runtime for the x64 windows platform. memory allocation and such probably doesn't use DPMI. there are native threads using CreateThread() and a HANDLE. but pointer sizes on the 64-bit platform are 64-bit in size, and so are addresses and sometimes data. mingw-w64 is a gcc/g++ which works on that platform and can target x32 and x64 by -m32 and -m64 switches, and you can make it monolithic with -static. VC++ community edition is also available. not sure what the license for this is, none was shown. > > The closest you're going to get is probably something using VT-X. > And apparently even DOSEMU2 uses that these days. (Eventually I'm > going to wipe my Ubuntu 14.04 USB drive and install Fedora + DOSEMU2.) > > Yes, DOSEMU2 works atop x64, but no, it's still plain DOS, so you can't > do any 64-bit or threading stuff with it. > > https://fedoraproject.org/wiki/How_to_create_and_use_Live_USB > https://stsp.github.io/dosemu2/ > > If you absolutely "need" 64-bit or SMP or whatever, just use Linux for > that and only use DOSEMU2 for "legacy" stuff. You can indeed use both, > but you cannot magically make DOS "modern" just by nagging a few > lonely developers. Sorry, but even they aren't smart enough to do > literally everything.