From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: axp-list@redhat.com
Subject: Re: Problems with egcs & xmkmf
Date: Tue, 30 Mar 1999 10:24:18 -0700 (MST) [thread overview]
Message-ID: <199903301724.KAA17390@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <19990330071535.1456.rocketmail@web601.yahoomail.com> from "designer seven" at Mar 29, 99 11:15:35 pm
designer seven wrote:
>
> the problem is that the egcs doesn't know about
>
> __alpha and only knows about __alpha__ ....
>
> the the LinuxMachineDefines that you removed should
> really have been replaced with something more sensible.
>
>
> The way I got around it was grep thru all the files in
> the source tree for __alpha and replaced them with
> __alpha__ ...once I did that, everything was fine.
Much simpler, saner and faster is to load a spec file for a compiler
you are using (**that** one, in case you have few different variants
of gcc installed on your system) into any text editor and to add this
missing define in question. Once you look there it will be obvious
what to do. Do not replace but add.
To find a precise location of your spec file try 'gcc -v </dev/null'.
If you do not feel like messing around with a system specs then egcs
has an option (from 'gcc --help')
-specs=<file> Override builtin specs with the contents of <file>
Last, but not least, you can always add a define to a compiler
invocation with a help of -D flag.
BTW - my compiler with 'gcc -v < /dev/null' shows, among other things:
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
and presented with this input:
#ifdef __alpha
#error defined
#else
#error undefined
#endif
prints "#error defined" so "egcs doesn't know about __alpha" statement
seems to be a tad too general. :-)
Michal
next prev parent reply other threads:[~1999-03-30 17:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-03-30 7:15 Problems with egcs & xmkmf designer seven
1999-03-30 17:24 ` Michal Jaegermann [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-03-30 6:52 Helge Kreutzmann
1999-03-30 8:55 ` Jurij Smakov
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