X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Date: Sat, 03 Jan 2009 21:24:29 +0200 From: Eli Zaretskii Subject: Re: TRYING TO MAKE EXE RUN ON FRIENDS MACHINE In-reply-to: <5fb78e93-bed6-46d9-85c8-a838e35b3d22@r36g2000prf.googlegroups.com> To: djgpp AT delorie DOT com Message-id: MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 X-012-Sender: halo1 AT inter DOT net DOT il References: <5fb78e93-bed6-46d9-85c8-a838e35b3d22 AT r36g2000prf DOT googlegroups DOT com> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by delorie.com id n03JOWqm029377 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 > From: blueice > Date: Sat, 3 Jan 2009 10:45:57 -0800 (PST) > > On Jan 3, 9:35 am, Eli Zaretskii wrote: > > > From: blueice > > > Date: Sat, 3 Jan 2009 07:17:14 -0800 (PST) > > > > >  I have used DJGPP for years. The problem is this my executable does > > > not run on a VISTA 64 bit machine. > > > > What do you mean, exactly, by "does not run"?  Does it crash? exist > > with some error message? silently does nothing? something else? > > It runs on my machine which is a windows XP machine I use > DJGPP GNU but the VISTA 64 machine claims it can't run because > it thinks it a 16bit application Well, it Vista 64 is documented to be unable to run 16-bit (DOS) applications, then I guess you are out of luck: DJGPP programs _are_, as far as Windows is concerned, 16-bit DOS executables. As far as MinGW setup is concerned, I have on my XP machine a dual MinGW/DJGPP setup, and it's fairly easy: all I need to switch from MinGW to DJGPP is to run a single batch file which says just this: @echo off set DJGPP=d:/usr/djgpp/djgpp.env set Path=d:\usr\djgpp\bin;%Path% The last of these 3 lines is what does the trick, as setting the DJGPP environment variable does nothing bad to MinGW.