Xref: utzoo comp.lang.c:32704 comp.unix.questions:26044 Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!uwm.edu!zaphod.mps.ohio-state.edu!rpi!bu.edu!snorkelwacker!bloom-beacon!eru!hagbard!sunic!mcsun!unido!alfrat!roy From: roy@alfrat.uucp (Roy Phillips) Newsgroups: comp.lang.c,comp.unix.questions Subject: C Compiler under Unix System VR4 Message-ID: <125@alfrat.uucp> Date: 8 Oct 90 15:26:51 GMT Reply-To: roy@alfrat.UUCP (Roy Phillips) Organization: A+F System-Entwicklung, W-Germany Lines: 32 The standard header files supplied with AT&T's UNIX System V Release 4.2 contains pre-processor commands such as the following: #if #machine(pdp11) The C preprocessor supplied has no problems with this, but my preferred C compiler, gcc, objects, even in it's '-ansi' mode. So I guess it's not ANSI C. My questions are:: 1. Does anyone know about this pre-processor syntax? and is it supposed to be standard on SysVR4? 2. Assuming yes to the above, is there a patch for 'gcc' to cater for it? As well as the above, the organisation of the library directory has changed somewhat - 'gcc' can't find 'crt0.o', which is now in /usr/ccs/lib, instead of /usr/lib (the same goes for most of the libraries). We've UCB compatabilty now, but what about System V compatabilty? Many thanks for help, past & future! -- Roy Phillips A+F SystemEntwicklung D-4030 Ratingen West Germany roy@alfrat.UUCP {world}!mcsun!unido!alfrat!roy