🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc
Article #8924

Re: compiling for Windows

#8924
From: Bruce Wright
Date: Fri, 19 Jan 1990 23:03
31 lines
2136 bytes
In article <775@laic.UUCP>, jay@void.laic.uucp (Jay Weber) writes:
> 
> Can someone tell me what stops me (if anything) from using Microsoft
> Quick C or even Turbo C for compiling Microsoft Windows applications?
> My Developer's Kit says that the full Microsoft C compiler is required,
> but it is a bit overpriced.

I don't offhand know if you can use Quick C or Turbo C for compiling 
under Microsoft Windows, but be aware that there are some special fixups
required by the compiler to build programs to run under Windows.  In
particular, some of the procedure entry code is a bit odd, and doesn't
follow the normal C calling conventions.  This is turned on with the -Gw
switch in the full Microsoft C compiler;  the switch doesn't seem to
exist in Quick C (though it's possible that you can kludge it in some
other way - maybe with a couple of assembler subroutines).  The compiler 
also has to be able to support the pascal calling sequence.  These are 
the two biggest limitations on using brand-x compilers under Windows.

There are also some restrictions on the use of different memory models:
the small model is the easiest although others are possible with enough
work.  This really doesn't put any serious constraints on using most
compilers, though you do need to be able to explicitly manipulate far
and near pointers.

I doubt that Quick C or Turbo C could be used for Windows, but there
may be some way.  Seems to me that if you have already paid the big $
to buy the Developer's Kit, that the C compiler isn't really all that
expensive.  But then I write code for a living, I suppose if you're on
a student budget it would be different ...

						Bruce C. Wright
Technical Details
Message-ID: <3477@rti.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ukma!uflorida!mephisto!mcnc!rti!bcw
References: <775@laic.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ukma!uflorida!mephisto!mcnc!rti!bcw
From: bcw@rti.UUCP (Bruce Wright)
Newsgroups: comp.sys.ibm.pc
Subject: Re: compiling for Windows
Summary: Windows compilers
Keywords: windows compilers
Message-ID: <3477@rti.UUCP>
Date: 19 Jan 90 23:03:17 GMT
References: <775@laic.UUCP>
Organization: Research Triangle Institute, RTP, NC
Lines: 31