Path: utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!uunet!dowjone!gregb From: gregb@dowjone.UUCP (Gregory S. Baber) Newsgroups: comp.lang.c Subject: How to program/test for portability? Message-ID: <439@warlock.UUCP> Date: 4 Apr 89 11:11:40 GMT Reply-To: gregb@dowjone.UUCP (Gregory S. Baber) Organization: Dow Jones, Inc. Princeton, NJ Lines: 13 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"