delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2008/11/07/19:45:10

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "H. Peter Anvin" <hpa AT zytor DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: 'The system cannot execute the specified program' (again)
Date: Fri, 07 Nov 2008 16:40:36 -0800
Organization: Zytor Communications
Lines: 30
Message-ID: <4914E004.8090701@zytor.com>
References: <6nk3hhFm2at0U1 AT mid DOT uni-berlin DOT de>
NNTP-Posting-Host: c-98-210-181-100.hsd1.ca.comcast.net
Mime-Version: 1.0
X-Trace: terminus.zytor.com 1226104837 7673 98.210.181.100 (8 Nov 2008 00:40:37 GMT)
X-Complaints-To: news AT terminus DOT zytor DOT com
NNTP-Posting-Date: Sat, 8 Nov 2008 00:40:37 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.14 (X11/20080501)
In-Reply-To: <6nk3hhFm2at0U1@mid.uni-berlin.de>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
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

Andreas Eibach wrote:
> finally brought some insight that djgpp uses a 16-bit stub that will make
> any 32bit program _look_ like a 16 bit app for MSDOS.
> Is there - after 2 years - still no way to circumvent this (compiling
> options?) apart from silly workarounds I already read about in the thread
> from 2 years ago?
> 
> Second question: Would it be *theoretically* possible to live without that
> 16bit stub, so that 32bit programs are also recognized as 32bit?

No, because DJGPP is a DOS compiler, and DOS doesn't have a 32-bit
interface.

> I can only say I *DO* need very long lines in my batch file, because people
> with deep directory trees do not even need to have directories with a
> certain number of characters, but only the grade of tree depth will
> automatically make paths quite long.

Standard DOS doesn't support this.  If you're using 4DOS as the shell
there is an environment variable that the full command line is passed
in.  I have no idea if NT does that when it emulates DOS programs, my
guess is no.

> If djgpp does not support this, maybe I should look for mingw32, because
> that 16bit thing really annoys me.

Yes, if you want Win32 programs, as opposed to DOS programs, use
MinGW32.  That's what it's for.

	-hpa

- Raw text -


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