ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/04/07/20:30:27

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Message-ID: <3CB0AE83.80B83EE0@yahoo.com>
From: CBFalconer <cbfalconer AT yahoo DOT com>
Organization: Ched Research
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Preprocessor directives
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> <9b84a27b DOT 0204021027 DOT 2d256e84 AT posting DOT google DOT com> <200204021832 DOT g32IWW421701 AT envy DOT delorie DOT com> <9b84a27b DOT 0204070512 DOT 2538ae43 AT posting DOT google DOT com> <7458-Sun07Apr2002182012+0300-eliz AT is DOT elta DOT co DOT il> <000501c1de61$4a61c540$0110a8c0 AT kunal>
Lines: 24
Date: Mon, 08 Apr 2002 00:19:20 GMT
NNTP-Posting-Host: 12.90.167.155
X-Complaints-To: abuse AT worldnet DOT att DOT net
X-Trace: bgtnsc04-news.ops.worldnet.att.net 1018225160 12.90.167.155 (Mon, 08 Apr 2002 00:19:20 GMT)
NNTP-Posting-Date: Mon, 08 Apr 2002 00:19:20 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Kunal Gangakhedkar wrote:
> 
> > I don't think there's a general, compiler-independent way of
> > getting that information.  Each compiler should have this
> > documented somewhere.
> 
> But then, the problem remains to select a proper compiler....
> If I'm building an app. which needs to be cross-platform
> portable, then this kind of decision is quite important.

Simply stick to ISO Standard C for your coding, and the results
will be portable.  If something rears its head you can write, in a
separate module, something to handle that. Then porting requires
customizing that single module.

If you want binary portability, that requires an interpreted
system to be universal.

-- 
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net)
   Available for consulting/temporary embedded and systems.
   <http://cbfalconer.home.att.net>  USE worldnet address!


- Raw text -


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