Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!ucsd!ucbvax!decwrl!sun!pitstop!sundc!seismo!uunet!mcvax!hp4nl!mhres!jv From: jv@mhres.mh.nl (Johan Vromans) Newsgroups: comp.lang.c Subject: Re: Machines for testing portability (was Re: "Numerical Recipes in C" is nonportable code) Message-ID: <2305@mhres.mh.nl> Date: 1 Sep 88 13:05:25 GMT References: <673@proxftl.UUCP> Organization: Multihouse NV, the Netherlands Lines: 19 From article <673@proxftl.UUCP>, by bill@proxftl.UUCP (T. William Wells): > Anybody else have suggestions on sets of systems for checking > portability? I have used an Hewlett-Packard HP9000 model 500, which has a very strange memory architecture (uses non-contiguous memory segments), and a real stack (which means that uninitialized local variables contain a zero). Emacs cannot run on it. There exists a Pr1me system which always has the high bit of each byte set, so ASCII runs from 128 to 255. Of course, EBCDIC machines catch most of the programs which avoided but use ('a' <= x && x <= 'z') , and segmented memory machines (like PC's with large model) catch all programs that (mis)use ints and pointers and longs. -- Johan