delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/23/06:05:06

Message-Id: <200006230929.MAA12736@alpha.netvision.net.il>
Date: Fri, 23 Jun 2000 12:31:37 +0200
X-Mailer: Emacs 20.6 (via feedmail 8.1.emacs20_6 I) and Blat ver 1.8.5b
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
To: djgpp AT delorie DOT com
In-reply-to: <8iv4ub$1vjk$1@news.vol.cz> (jan.bares@antek.cz.no.spam)
Subject: Re: I want to migrate from VC to free Win32 compiler
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1000622180335 DOT 26520F-100000 AT is> <8iv4ub$1vjk$1 AT news DOT vol DOT cz>
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

> From: "Jan Bares" <jan DOT bares AT antek DOT cz DOT no DOT spam>
> Newsgroups: comp.os.msdos.djgpp
> Date: Fri, 23 Jun 2000 09:51:35 +0200
> 
> > Did you look at section 3.6 of the DJGPP FAQ list?  It answers some of
> > these questions.
> 
> Yes. That was the reason why I am now confused.

I'm sorry to hear that the FAQ cuased more confusion instead of
removing some of it.  Perhaps you could tell what is confusing there,
so the FAQ could be improved.

> What exactly does RSXNTDJ? I searched the documentation but I don't
> understand where this cross-compiler is inserted. C(++) -> RSXNTDJ ->
> djgpp -> Win EXE/DLL? Or something else?

Like I said: DJGPP tools produce DOS executables, which cannot enjoy
all the lucrative features that Windows offers: calls into Windows
DLLs, COM, etc.  RSXNTDJ adds a few libraries and tools that allow you
to produce native Windows executables, but still use the basic DJGPP
toolchain for development.

It's a cross-compiler because it is hosted in the DJGPP environment,
but produces executables that target Windows, not DOS.

> From the FAQ is understood that there are big problems with RSXNTDJ, Cygnus
> and Mingw.

I wouldn't call them ``big''.  There are problems, but many people use
these tools, so it doesn't take a genius to set them up.  And, unlike
with proprietary tools such as MSVC, help is freely available on the
net from the developers of the packages (as opposed to some clueless
tech-support person ;-).

> > > why I need 4MB DLL for Cygnus
> >
> > Because Cygwin simulates a Posix system on top of non-Posix Windows.
> > Providing all the missing functionality takes lots of code.  (Btw, 4MB
> > is the unstripped size of the DLL; if you strip it, you are left with
> > something like 500KB.)
> 
> OK, But I don't need POSIX. I don't want to port Unix applications to
> Windows, I just need to compile my Windows application.

Posix is not just to port Unix applications, it is simply a very
feature-rich environment.  You might find that you do want some Posix
features because they make your life as a programmer easier.

If you are sure you don't want that, try Mingw first, it uses
Microsoft's CRTDLL.DLL as its runtime library.

> BTW: How do those compilers support Microsoft extensions?

I have no idea.  I'm not even sure what do you mean by ``Microsoft
extensions''.  Extensions to what?

- Raw text -


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