Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site tesla.UUCP Path: utzoo!watmath!clyde!burl!hou3c!hocda!twitch!hocad!houxm!vax135!cornell!tesla!mac From: mac@tesla.UUCP (Michael Mc Namara) Newsgroups: net.lang.c Subject: Re: C portability between non-UNIX operating systems. Message-ID: <434@tesla.UUCP> Date: Tue, 9-Oct-84 23:21:19 EDT Article-I.D.: tesla.434 Posted: Tue Oct 9 23:21:19 1984 Date-Received: Thu, 11-Oct-84 07:19:14 EDT References: <2208@pur-ee.UUCP>, <85@decvax.UUCP> Organization: Cornell Electrical Eng. Lines: 25 After doing a lot of porting of a set of C programs I wrote (between UNIX 4.2BSD on a Vax 11/780, a Data General MV 8000 running AOS/VS 4.03, a Vax 11/750 running VMS and a HARRIS 800 running VOS) I can offer the following wisdom: [1] don't rely on their library of routines; write your own. (Use /usr/src/lib/libc as a guide, if you don't have license problems) [2] The biggest problem I have found is that they don't call stdio.h stdio.h!!!! On VMS, it is invoked with #includeon the Harris, it is "STDIO.H" (caps necessary), et cetera [3] Vms requires everything be initialized if it is to be external. . . . [oo] again, I could go on, but D O N ' T B E C L E V E R sort of sums it up, so i qoute Martin Minow @ DEC. ------------------------------------ MAC @ Cornell Electrical Engineering ..!cornell!tesla!mac !crnlccsb!mtm ------------------------------------