Hi, On Sat, Jul 19, 2014 at 4:45 AM, Jim Michaels <[email protected]> wrote: > ----- Original Message ----- > >> From: Steve Nickolas >> To: Technical discussion and questions for FreeDOS developers. >> <[email protected]> >> Cc: >> Sent: Friday, July 18, 2014 11:21 AM >> Subject: Re: [Freedos-devel] FreeDOS JetDirect driver (was: Getting started) >> >> On Fri, 18 Jul 2014, Rugxulo wrote: >> >>> On Fri, Jul 18, 2014 at 10:26 AM, Jim Michaels <[email protected]> >> wrote: >>>> >>>> a windows version of DJGPP is in the wings, based on cygwin I think. >> there's an alpha you can compile with cygwin. >>> >>> This is so wrong that I don't even know where to begin. >>> >>> DJGPP only runs on DOS (or similar like NTVDM or DOSEMU). It does not >>> use PE/COFF at all, nor DLLs, nor Win32 APIs. > > I know about PE's they are for windows
Not only, no. There are many OSes that use PE, but the most popular is Windows (for various cpu architectures). You can (and people did) develop a PE loader or even DOS extender based upon PE. That may or may not come with some kind of Win32 API emulation. See WDOSX or HX. I even think TASM32.EXE (5.3) is some kind of hybrid (32RTM?). BTW, here's an old (circa 1999) thread about "the future of DJGPP". You may recognize some of the wanted features. http://www.delorie.com/djgpp/mail-archives/browse.cgi?p=djgpp/1999/04/08/18:11:43 Obviously, in hindsight, nobody knew half of what was coming. > - the DJGPP compiler you are compiling itself will likely compile to a PE, > but the code it generates/targets is dos i386 and not a PE. Yes, I already mentioned Andrew Wu's cross-compiler. Yes, it's Windows (MinGW) hosted, and yes it seems to work correctly. This is good since Win64 doesn't support self-hosted DJGPP. Heck, it might even be faster (debatable! benchmark first!) than native DOS. https://github.com/andrewwutw/build-djgpp/releases http://www.bttr-software.de/forum/board_entry.php?id=13451#p13451 > for DJGPP, the host for the current stable version right now is windows XP or > DOS on i386 and the target is DOS i386. Yes, and in fact, most DJGPP ports of GNU stuff won't build easily without LFNs, hence XP (or similar) is implicitly required. Too bad Vista on up were so much worse. At least XP was bearable. > the new alpha cygwin DJGPP compiler's host is I think any version of windows > possibly even x64 cpu - > it must be compiled right now, a binary may be later. the target is still DOS > i386 to my knowledge. Can you point me to this mythical URL you keep mentioning? :-) > the cygwin-compiled version just allows folks who have 64-bit windows to > compile DOS programs > (so they can run them on a VM or whatever, Well, we already had OpenWatcom able to cross-compile to several targets, including DOS. But DJGPP is better in some ways. I'm glad we finally have a decent publicly available Windows cross-compiler binary. > I highly suggest windows 8/8.1 for VM stuff since those versions of windows > can share .VHD files' filesytem > with windows like a drive and this makes development a snap! Yes, sounds good, but I don't know of all the various emulators that support whatever formats. Anyways, IIRC, the FreeDOS networking guide just recommends setting up an FTP server to share files between host and guest. > - I may have to upgrade my windows now that win8 is more stable - I can work > around the flaws just to get that feature... xp mode was never stable and now > it's supported no more "XP Mode" felt like more of a marketing gimmick than anything. Plus it doubled your cpu and RAM requirements. And it wasn't even offered to home users, officially. > - mo more fixes to its bugginess and crashes - I really wanted to run dos > stuff on it! but it looks like > vbox+win8 for me pretty soon...) besides, win8/8.1 has the free hyper-v VM > and hyper-v VM server as well (both free). Hyper-V isn't necessarily going to work. I don't know if it supports DOS. I'd highly doubt it unless told otherwise. I heard FreeBSD runs okay, maybe some enterprise-y Linuxes too, but I dunno the details. Anyways, Hyper-V is Win8 Pro 64-bit with (advanced) VT-X only! So it's not for everybody, obviously. ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ Freedos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-devel
