How to program/test for portability?

Gregory S. Baber gregb at dowjone.UUCP
Tue Apr 4 21:11:40 AEST 1989


Given that portable C code is a desire, how does someone who has only
had exposure to one "flavor" of C compiler (cc, gcc, Microsoft C 5.1, etc.)
decide whether his or her code is portable, aside from actually trying to
compile it on the target machine? How do you recognize code as being
portable or not? Are there tests that you can perform on your code to test
for portablility? Books on portable C? Gurus willing to look at your code
a pass judgement as to its degree of portability? (1/2 :-)  Thanks, gregb

-- 
Reply to: Gregory S. Baber		Voice:	(609) 520-5077
   Dow Jones & Co., Inc.		UUCP:	..princeton!dowjone!gregb
   Box 300				or	..uunet!dowjone!gregb
   Princeton, N.J. 08543-0300		"So long, and thanks for all the fish"



More information about the Comp.lang.c mailing list