🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.misc
Article #9172

Re: Using Borland C++

#9172
From: Jamshid Afshar
Date: Fri, 12 Apr 1991 23:23
48 lines
2777 bytes
In article <1991Apr11.162855.10164@SanDiego.NCR.COM> davel@booboo.SanDiego.NCR.COM (David Lord) writes:
>davel@booboo.SanDiego.NCR.COM (David Lord) (that's me!) writes:
>
>>1) Linking even a minimal Windows program on my 386SX takes twenty minutes.
>>   Using Hyperdisk in Staged Write mode will cut the time down to about five.

Solution:
>3) Run BCX (protected mode compiler).
>
>	This means running Windows in REAL mode. Sounds awful, but I'll...

BZZT!  Wrong, but thanks for playing. (Oh, sorry, I thought this was
comp.lang.c)

To run BCX (the _protected_ mode compiler), you must run windows in
_protected_ mode (win /s).  I wouldn't use Windows in real mode.
RTM (_User's Guide_, p.4) about running BC++ in protected mode.

>In article <1038@stewart.UUCP> jerry@stewart.UUCP (Jerry Shekhel) writes:
>
>>I have a question about pre-compiled headers.  This feature is a miracle,
>>but it seems like a new header image (.SYM) needs to be created during the 
>>MAKE process whenever a file is compiled which includes a set of headers
>>which is different from the current .SYM image.  ...(stuff deleted)...
>
>Use the same headers in each module :-). Actually I think only the first few
>have to be the same.

The one .SYM file keeps the data for _all_ previously compiled
modules.  You know when BC++ uses a pre-compiled header because
the compiler spits out a message.  See Appendix A in the _User's
Guide_ for more info. about Precompiled Headers.

I would say RTFM, but I understand how difficult it is to figure out
which Borland manual has the information you want (am I a User or a
Programmer?).

Jamshid Afshar
jamshid@emx.utexas.edu

PS: Precompiled headers are really great, but their usefulness in
large projects is kinda limited because, for example, almost none of
my modules include the same headers or include them in the same order.
This means the SYM file has to have a separate entry for each module
(over 100) with each entry containing alot of duplicate information.
I wish Borland would find a way to just precompile a .h file instead
of a set of includes statements.  I don't do anything fancy in header
files, so I don't mind restrictions.  Know what I mean?
Technical Details
Message-ID: <47124@ut-emx.uucp>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!ut-emx!jamshid
References: <1991Apr5.171426.28904@SanDiego.NCR.COM> <1038@stewart.UUCP> <1991Apr11.162855.10164@SanDiego.NCR.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!ut-emx!jamshid
From: jamshid@ut-emx.uucp (Jamshid Afshar)
Newsgroups: comp.sys.ibm.pc.misc,comp.windows.ms.programmer
Subject: Re: Using Borland C++
Message-ID: <47124@ut-emx.uucp>
Date: 12 Apr 91 23:23:10 GMT
References: <1991Apr5.171426.28904@SanDiego.NCR.COM> <1038@stewart.UUCP> <1991Apr11.162855.10164@SanDiego.NCR.COM>
Followup-To: comp.sys.ibm.pc.misc
Organization: The University of Texas at Austin; Austin, Texas
Lines: 48