Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: axp-list@redhat.com
Subject: Re: follow-up on Compiling X on Alpha
Date: Tue, 26 Jan 1999 09:56:23 -0700 (MST)	[thread overview]
Message-ID: <199901261656.JAA01375@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <Pine.LNX.3.96.990126083941.22153A-100000@beezer.med.miami.edu> from "Christopher C Chimelis" at Jan 26, 99 08:41:26 am

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


  reply	other threads:[~1999-01-26 17:24 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-25 20:42 follow-up on Compiling X on Alpha Designer 7
1999-01-25 22:06 ` Maciej W. Rozycki
1999-01-26  0:57 ` Michal Jaegermann
1999-01-26 13:41 ` Christopher C Chimelis
1999-01-26 16:56   ` Michal Jaegermann [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-01-27  7:55 Designer 7
1999-01-26  1:12 Designer 7
1999-01-23 20:26 Designer 7
1999-01-25 18:42 ` Maciej W. Rozycki
1999-01-23 10:38 Designer 7
1999-01-23 19:15 ` Michal Jaegermann
1999-01-23 10:08 Designer 7
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox