Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!mips!smsc.sony.com!dce From: dce@smsc.sony.com (David Elliott) Newsgroups: comp.windows.x Subject: Does cc -E read from stdin? Message-ID: <1990Jul31.225117.4362@smsc.sony.com> Date: 31 Jul 90 22:51:17 GMT Sender: dce@smsc.sony.com (David Elliott) Organization: Sony Microsystems Corp, San Jose, CA Lines: 18 In X11R4, the util/scripts stuff uses "$(PREPROCESSCMD) < filename" to generate scripts. PREPROCESSCMD defaults to the C compiler (e.g., cc) with the -E option. When I ported X11R4 to a system using MIPS compilers, I found that this didn't work, so I just assumed that the compiler driver was lacking, and got our compiler person to "fix" it. Now, I find that the Sony BSD compilers don't handle this, either. Is it common for cc to read from stdin, or is this a more general flaw in X11R4? -- ...David Elliott ...dce@smsc.sony.com | ...!{uunet,mips}!sonyusa!dce ...(408)944-4073 ..."Damn! I'm running out of integers!"