www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/06/19/01:00:04

From: Jack Klein <jackklein AT spamcop DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: R: problem with asm
Message-ID: <ogktitg5su9q2r330305g5gc377lmr7nke@4ax.com>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1010618132304 DOT 24334D AT is> <00a701c0f7ea$ca1a40e0$42b6623e AT default>
X-Newsreader: Forte Agent 1.8/32.548
MIME-Version: 1.0
Lines: 37
Date: Tue, 19 Jun 2001 04:22:11 GMT
NNTP-Posting-Host: 12.84.2.221
X-Complaints-To: abuse AT worldnet DOT att DOT net
X-Trace: bgtnsc04-news.ops.worldnet.att.net 992924531 12.84.2.221 (Tue, 19 Jun 2001 04:22:11 GMT)
NNTP-Posting-Date: Tue, 19 Jun 2001 04:22:11 GMT
Organization: AT&T Worldnet
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Mon, 18 Jun 2001 13:35:33 +0200, "Giovanni"
<giovanniceglia AT inwind DOT it> wrote in comp.os.msdos.djgpp:

> It is not a Win application, I ' ve setted the compiler for "DOS CONSOLLE"
> but i understood this means DOS 32 Bit in PM (Protected Mode)

You misunderstand what your IDE is telling you, or your IDE is not
telling you things correctly.  The only version of the GCC compiler
that makes MS-DOS executables is DJGPP.

> I posted on DJGpp newsgroup because i think the compiler Mingw is based on
> DJGpp, infact it use the same assembly (it is not Intel assembly), and it
> use the same format for objects files, infact it uses "object coff type" .o
> files.
> 
> Thanks however.

mingw is a minimalist port of the GCC tools to Windows.  It uses the
native Windows libraries that Microsoft builds into Windows to be used
by programs built with the Microsoft compiler.  It does not make any
kind of program at all that run under MS-DOS.  Win32 console mode
programs are still Win32 programs and require Windows to run, even if
they run in text mode.  Try building a plain old ordinary "hello
world" program with your compiler that runs.  Then reboot to DOS mode
and try running it, you will see what I mean.

mingw is not based on DJGPP, and DJGPP is not based on mingw.  Both
are packages built from the core GCC (Gnu Compiler Collection), with
different run-time libraries for different operating systems.

-- 
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++ ftp://snurse-l.org/pub/acllc-c++/faq

- Raw text -


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