delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/23/08:59:50

From: "Jan Bares" <jan DOT bares AT antek DOT cz DOT no DOT spam>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: I want to migrate from VC to free Win32 compiler
Date: Fri, 23 Jun 2000 13:49:26 +0200
Organization: Video On Line
Lines: 57
Message-ID: <8ivisa$2bp5$1@news.vol.cz>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1000622180335 DOT 26520F-100000 AT is> <8iv4ub$1vjk$1 AT news DOT vol DOT cz> <200006230929 DOT MAA12736 AT alpha DOT netvision DOT net DOT il>
NNTP-Posting-Host: antek.vol.cz
X-Trace: news.vol.cz 961760970 77605 195.250.137.143 (23 Jun 2000 11:49:30 GMT)
X-Complaints-To: sysadmin AT vol DOT cz
NNTP-Posting-Date: 23 Jun 2000 11:49:30 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> 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.

My first impression from the FAQ was "I cannot do proffesional development
of Win32 application with free compilers". The FAQ pinpoints problems in
such basic areas as "Problems with using latest MS SDK", slow response times
for bugreports etc.
I spent some time with RSXNTDJ - now I understand what it is (at least I
hope). I will never call it cross-compiler. I still cannot compile simple
test program (see my next posting) but it seems to that RSXNTDJ can be used
in this manner:

* Download MS SDK (now free - only huge download)
* ?? unclear about why I need IBLDENV - this is part of MS SDK???
* Patch the headers with patch utility (the help file states to run
dopatch.bat - where it is??) so that djgpp accepts the headers. How does
this work? What is patched?
* Run MAKELIB to create import libraries. Hmm, why I cannot use the import
libraries from MS SDK? I see some problems here.
* Compile with djgpp
* Compile resources with RC (I think its free to) or GRC
* Link resources with RSRC
* Run NTBIND to create Win32 EXE/DLL headers

Now it seems to be clear to me.

> 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 ;-).

Help for MSVC is also freely available!

> 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.

Yes I am sure. I understand your point of view, but Posix is advantage when
you want to port Linux <--> Windows.

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

Examples:
Unamed structures
Variable declared in for loop is visible also outside the loop
new doesn't throw bad_alloc
Windows specific: #import, __declspec(...) etc.

Best regards, Jan


- Raw text -


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