Mail Archives: djgpp/2000/06/23/06:05:06
> 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 -