delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/04/02/13:30:03

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: kgangakhedkar AT softhome DOT net (Kunal Gangakhedkar)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Preprocessor directives
Date: 2 Apr 2002 10:27:31 -0800
Organization: http://groups.google.com/
Lines: 28
Message-ID: <9b84a27b.0204021027.2d256e84@posting.google.com>
References: <r34q8.4238$Ba DOT 3153129 AT typhoon1 DOT se DOT ipsvc DOT net> <200204012135 DOT g31LZb009835 AT envy DOT delorie DOT com> <HL7q8.4321$Ba DOT 3251020 AT typhoon1 DOT se DOT ipsvc DOT net> <200204020303 DOT g3233Zt12075 AT envy DOT delorie DOT com>
NNTP-Posting-Host: 203.197.75.40
X-Trace: posting.google.com 1017772051 18848 127.0.0.1 (2 Apr 2002 18:27:31 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: 2 Apr 2002 18:27:31 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Well, 
I don't think what he is trying to find is just the info about
clrscr()....
but the info about how to detect the OS and/or compiler releases from
a program.
The best answer to this could be provided by Mr. DJ Delorie
himself....

My interpretation is that there are certain COMMAND - LINE MACROS
(similar to #define's) defined / provided by the executable(???)
script which invokes the compiler.

For example, there is one script - I don't remember the filename - in
DJGPP environment which sets these parameters like the type of machine
(-D__i386__ -Di386), the operating system being used (-D__MSDOS__
-DMSDOS) kind of things. I think DJ should be able to throw some more
light on it.....

Kunal Gangakhedkar
(kgangakhedkar AT softhome DOT net)

DJ Delorie <dj AT delorie DOT com> wrote in message news:<200204020303 DOT g3233Zt12075 AT envy DOT delorie DOT com>...
> > Where can a person find these low-level commands?  (I'm assuming their
> > low-level commands.)
> 
> Are you talking about clrscr?  If so, type "info libc a clrscr" at the
> DOS prompt (or "info libc f" for a list of functional categories, one
> of which is conio).

- Raw text -


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