From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 11616 invoked from network); 26 Jan 1999 17:24:47 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 26 Jan 1999 17:24:47 -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 LAA14911 for ; Tue, 26 Jan 1999 11:56:27 -0500 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.8/8.8.8) id JAA01375 for axp-list@redhat.com; Tue, 26 Jan 1999 09:56:23 -0700 From: Michal Jaegermann Message-Id: <199901261656.JAA01375@ellpspace.math.ualberta.ca> Subject: Re: follow-up on Compiling X on Alpha To: axp-list@redhat.com Date: Tue, 26 Jan 1999 09:56:23 -0700 (MST) In-Reply-To: from "Christopher C Chimelis" at Jan 26, 99 08:41:26 am Content-Type: text Christopher C Chimelis wrote: > > On Mon, 25 Jan 1999, Designer 7 wrote: > > > 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? is __alpha suppose to show up here > > too? > > It can be (and should be really...at least for now until everyone catches > up and changes to __alpha__). I looked around and older versions of egcs, and gcc, have more predefines. For example, for egcs-2.90.29 there is something like that in specs file (a long line folded for mail): *predefines: -D__alpha -D__alpha__ -D__linux__ -D__linux -D_LONGLONG -Dlinux -Dunix -Asystem(linux) -Acpu(alpha) -Amachine(alpha) -D__ELF__ For egcs-2.91.60 (a.k.a. "1.1.1 release") it is only *predefines: -Dlinux -Dunix -Asystem(linux) -D_LONGLONG -D__alpha__ -D__ELF__ I have no idea why this change as there are various sources around which rely on a presence of defines from a longer list. X is only one example, although pretty big one. :-) You can, obviously, hack your specs file and Red Hat apparently did in what you can find in rpm format. Anybody wants to file a bug report to egcs-bugs@cygnus.com? Michal