🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #7888

Re: Recommendation for 32-bit C compiler?

#7888
From: Robert Schaefer
Date: Fri, 29 Dec 1995 13:20
48 lines
2824 bytes
In article <4bp8fd$7an@nntpd.lkg.dec.com>,
Eric Postpischil <edp_usenet_zk@edp.org> wrote:
>I would like recommendations for a 32-bit C compiler to use on a PC.  I
>have Microsoft Visual C/C++ 1.5, but I am sick and tired of having the
>segmentation limit my use of stack or other memory. The Visual C manuals
>refer to a 32-bit compiler, but if such a thing is present on the
>product I have, its location eludes me. Maybe they're referring to some
>capability to compile stuff for Win32, which isn't what I want.
>
>I would like a compiler that presents me with a flat address space,
>including a nice big stack if I want it. If it has to run with some sort
>of shell under DOS, so be it. I'm even willing to install Linux if
>necessary.
>
>All I want is ANSI C; I don't need extensions or hooks into the
>operating system or Windows capability. This is largely to write
>programs that do various computations, often mathematical, sometimes
>mostly integer operations and sometimes mostly floating point. Some
>extras like a debugger and/or the capability to compile with array
>bounds checking would be nice but are not necessary.
>
>What's available? Does such a compiler come with Linux? Does GNU have a
>32-bit compiler that runs under DOS? Is there a good shareware compiler
>or an inexpensive commercial compiler?
>
>


If you want to stick with commercial compilers, then your best bet is
probably to look at Watcom C, as someone else suggested.  If you don't
mind going the shareware route, then you have djgpp.  Its a DOS port of
the GNU C/C++ compilers.  It is very stable, and not overly difficult to
use.  It has a debugger that you can pick up separately.  I'm not sure
how robust the debugger is, I haven't used it.  The documentation is
typical GNU and Unix, cryptic and not overly informative, unless you
already know what your doing.  But over all, its a VERY good compiler
for the money.

If you would like more functionality, power, etc, then I would recommend
you load on Linux.  Its a true 32bit multitasking/multiuser OS.  The
problem is, it takes a lot of space and can be difficult to maintain.  It
requires more care and feeding than your standard MS OS, but it gives
you more power and flexibility.  So basically it all depends on what you
really want to do, and how much time you want to spend doing it.

Bob Schaefer
rjsc@win.comc
rjsc@lubrizol.com
Technical Details
Message-ID: <4c0pue$t2s@home.winc.com>
Path: arc1-ca.pugleaf.net!home.winc.com!not-for-mail
References: <4bp8fd$7an@nntpd.lkg.dec.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!home.winc.com!not-for-mail
From: rjsc@home.winc.com (Robert Schaefer)
Newsgroups: comp.os.msdos.programmer,comp.lang.c,comp.os.linux.misc
Subject: Re: Recommendation for 32-bit C compiler?
Date: 29 Dec 1995 08:20:14 -0500
Organization: Winfield Communication, Inc.
Message-ID: <4c0pue$t2s@home.winc.com>
References: <4bp8fd$7an@nntpd.lkg.dec.com>
NNTP-Posting-Host: home.winc.com