From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,a649e59da0d335b6,start X-Google-Attributes: gidfee84,public From: "Silas K.W. Denyer" Subject: How do I find machine & OS names in /lib/cpp?! Date: 1995/07/04 Message-ID: <3tb6f2$m4a@news.ox.ac.uk>#1/1 X-Deja-AN: 105619478 content-type: text/plain; charset=us-ascii organization: Imagineering x-url: news:comp.unix.osf.osf1 mime-version: 1.0 newsgroups: comp.unix.osf.osf1 x-mailer: Mozilla 1.1N (X11; I; IRIX 5.2 IP22) I am trying to compile some multi-platform software, using SDSC's sdscconfig.h, which is a machine characteristics file. I believe that the C preprocessor, /lib/cpp, will define a unique name for the machine & OS, allowing one to #ifdef in special code for it when needed. I am trying to compile this on a DEC 2100/A500MP Alpha AXP machine, running OSF/1, and _really_ need to know either what /lib/cpp wants to call it, or how do I find out! It seems that I have to be spot on with this or my code won't compile at all! Can anyone help....?! -- SILAS K.W. DENYER, B.Eng ------> Email: Silas.Denyer@eng.ox.ac.uk Department of Engineering Science, University of Oxford, Oxford, UK Tel: +44-1865-273813 (day), 249889 (eve), Fax: +44-1865-273906 Email-to-fax: remote-printer.S_Denyer/UTC@441865273906.iddd.tpc.int