delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2012/11/21/16:00:10

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Newsgroups: comp.os.msdos.djgpp
Date: Wed, 21 Nov 2012 12:49:50 -0800 (PST)
In-Reply-To: <ah3k26FomfpU1@mid.uni-berlin.de>
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: <ah3k26FomfpU1 AT mid DOT uni-berlin DOT de>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3e15b50b-8967-47a5-8c94-5724808701e7@googlegroups.com>
Subject: Re: Where to go with Win7-X64
From: rugxulo AT gmail DOT com
Injection-Date: Wed, 21 Nov 2012 20:49:50 +0000
Bytes: 3251
Lines: 45
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id qALL02K4028051
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

Hi,

On Wednesday, November 21, 2012 3:09:28 AM UTC-6, Dirk Zabel wrote:
> 
> I have for years used DJGPP on a Windows XP environment; as part of an 
> ongoing development project I used bison and flex to generate a compiler 
> for a domain-specific language.
> 
> Now I am changing to a Win 7-X64 bit machine, and I see my old 
> djgpp-compiled exe-files don't run any more.

Do you just want to run the DOS binaries (only real DOS? also Windows?), also cross-compile, or just natively target your current OS (Windows)?

If you want to stick with DOS (my preference but unlikely yours), you could use VirtualBox (esp. if cpu supports VT-X) or MS Virtual PC (aka WinXP Mode, if your Win7 is Business or Enterprise or whatever).

Or you could use Linux + DOSEMU (even under x86-64). Or just (dual) boot FreeDOS natively.

> Has anyone an idea on how to proceed? I know there are cygwin and mingw, 
> but I don't have experiences with any of them. As far as I can say from 
> the mingw homepage, bison and flex are not included. So any good advice 
> on how to get a running gcc+bison+flex environment for Win 7-X64 would 
> be very welcome.

If you're really dependent on GNU tools or POSIX support or similar, then I guess those are your best bet (assuming you don't stick with DJGPP). Doesn't even MinGW have an installer now? So they're probably similarly easy to keep updated.

I've only got limited experience with MinGW, but Cygwin seems somewhat better, though their fairly heavy updates every so often is bad if your connection isn't very fast. (7-Zip or XZ would be better than Bzip2.) Though I guess MinGW is friendlier to closed source projects?

P.S. OpenWatcom is a nice, integrated suite of tools, nice for cross-compilation or native support, etc. but isn't as POSIX friendly. I vaguely remember them having some sources to some POSIX tools (byacc, etc.) in their sources archive, but it's not built by default, and I don't know the details on whether you just need old yacc/lex or newer features.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019