Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Robert Harley <harley@corton.inria.fr>
Subject: Re: Porting to Alpha
Date: 1998/11/10	[thread overview]
Message-ID: <rz7ogqferkp.fsf@corton.inria.fr> (raw)
In-Reply-To: 3647BF02.49CC0921@msa.dec.com

Wai-Sun Chia <waisun@msa.dec.com> writes:

> Apparently EGCS craps out when a variable is defined as the arch name:
> i.e. alpha, i386, arm, m68k, mips, ppc, sparc, sparc64
> 
> I've confirmed it with i386 and alpha. To test yourself, try to compile
> the following simple program:
> [...]

Well I had no such problem, but I can guess what the cause is.  Try
compiling with the "-v" flag and you'll probably see that your spec
file causes a "-Dalpha" to be put on the command-line.  In my case it
has "-D__alpha -D__alpha__" which is fine because identifiers starting
with __ are reserved for such uses.  On the other hand it does have
"-Dlinux -Dunix" which is very naughty!

Also, send a report to egcs-bugs@cygnus.com.

Rob.



  reply	other threads:[~1998-11-10  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-11-10  5:00 Porting to Alpha Wai-Sun Chia
1998-11-10  5:00 ` Robert Harley [this message]
1998-11-10  5:00 ` Einar Floystad Dorum
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