From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 5527 invoked from network); 26 Jan 1999 01:25:46 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 26 Jan 1999 01:25:46 -0000 Received: from ellpspace.math.ualberta.ca (michal@ellpspace.math.ualberta.ca [129.128.88.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id TAA13451 for ; Mon, 25 Jan 1999 19:57:43 -0500 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.8/8.8.8) id RAA32744 for axp-list@redhat.com; Mon, 25 Jan 1999 17:57:41 -0700 From: Michal Jaegermann Message-Id: <199901260057.RAA32744@ellpspace.math.ualberta.ca> Subject: Re: follow-up on Compiling X on Alpha To: axp-list@redhat.com Date: Mon, 25 Jan 1999 17:57:41 -0700 (MST) In-Reply-To: <19990125204218.11356.qmail@hotmail.com> from "Designer 7" at Jan 25, 99 12:42:17 pm Content-Type: text Designer 7 wrote: > > > > > See what definitions `/lib/cpp -dM /dev/null' dumps. X uses /lib/cpp > as > >a C preprocessor. > > ok.. so this is what I got: > #define linux 1 > #define _LONGLONG 1 > #define __alpha__ 1 > #define __ELF__ 1 > #define unix 1 > > is this it? or am I missing anything? Apparently so. Mine prints this: /lib/cpp -dM /dev/null #define __linux__ 1 #define linux 1 #define _LONGLONG 1 #define __alpha__ 1 #define __linux 1 #define __ELF__ 1 #define __alpha 1 #define unix 1 What is really your '/lib/cpp'? gcc may use its own version while Imake will indeed rely on /lib/cpp. Michal