From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu From: "Douglas A. Gwyn" Message-ID: <3DD57827.5782C64B@null.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <38aa463bafe23035decff6b0364f7553@plan9.bell-labs.com>, <20021115165150.GA4088@mero.morphisms.net> Subject: Re: [9fans] how to avoid a memset() optimization Date: Mon, 18 Nov 2002 10:38:59 +0000 Topicbox-Message-UUID: 22fc7786-eacb-11e9-9e20-41e7f4b1d025 William Josephson wrote: > Can you name any major operating system written in C that actually > compiles reliably with more than one compiler? Unix used to; the real-time embedded OS I'm using (RTXC) does. All my embedded systems code does. It's not hard, really, if you code to the standard. There are certain operations that can be difficult on some architectures, such as the VAX and PDP-11 access pattern requirements that we've discussed, but (some) newer architectures are more robustly designed.