X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f Message-ID: <3CB0AE83.80B83EE0@yahoo.com> From: CBFalconer 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: <200204012135 DOT g31LZb009835 AT envy DOT delorie DOT com> <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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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. USE worldnet address!