public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: CPP_PREDEFINES
@ 1998-09-24 14:32 Steve Snyder
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Snyder @ 1998-09-24 14:32 UTC (permalink / raw)
  To: egcs

>J.H.M. Dassen  wrote:
>>Dejan Muhamedagic  wrote:
>>>imake doesn't work anymore because it depends on the architecture as well
>>>as the platform.
>>
>>This is fixed in egcs ( http://egcs.cygnus.com ).
>
>It has been pointed out to me that this isn't really true. An earlier
>version of egcs (1.0.3 IIRC), had fixed this, but the __i386__ has been
>removed again in 1.1.
>
>In packaging 1.1 for Debian, I noticed a similar problem for alpha:
>gcc/config/alpha/linux.h doesn't put -D__alpha in CPP_PREDEFINES .
>
>While there may be valid reasons for cleaning out CPP_PREDEFINES, I think
>this issue should be addressed in the egcs FAQ, and a suggestion for a
>workaround for imake be included.

A practical example of this problem can be seen in the inability to build
XFree86 v3.3.2.3 for i386 RedHat Linux with v1.1a of the pgcc/egcs compilers. 
Because __i386__ is not defined, the symbol LinuxMachineDefines is not resolved,
causing the compile of each source file to fail.

That's Not Good.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: CPP_PREDEFINES
       [not found] ` <6ub5c5$9g4$1@noc.wi.leidenuniv.nl>
@ 1998-09-24  2:37   ` J.H.M.Dassen
  0 siblings, 0 replies; 2+ messages in thread
From: J.H.M.Dassen @ 1998-09-24  2:37 UTC (permalink / raw)
  To: nkbj, egcs

[Courtesy copy of Usenet posting]
J.H.M. Dassen <jdassen@wi.LeidenUniv.nl> wrote:
>Dejan Muhamedagic <dejan@yunix.co.yu> wrote:
>>imake doesn't work anymore because it depends on the architecture as well
>>as the platform.
>
>This is fixed in egcs ( http://egcs.cygnus.com ).

It has been pointed out to me that this isn't really true. An earlier
version of egcs (1.0.3 IIRC), had fixed this, but the __i386__ has been
removed again in 1.1.

In packaging 1.1 for Debian, I noticed a similar problem for alpha:
gcc/config/alpha/linux.h doesn't put -D__alpha in CPP_PREDEFINES .

While there may be valid reasons for cleaning out CPP_PREDEFINES, I think
this issue should be addressed in the egcs FAQ, and a suggestion for a
workaround for imake be included.

Ray
-- 
LEADERSHIP  A form of self-preservation exhibited by people with auto-
destructive imaginations in order to ensure that when it comes to the crunch 
it'll be someone else's bones which go crack and not their own.       
- The Hipcrime Vocab by Chad C. Mulligan    

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-09-24 14:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-09-24 14:32 CPP_PREDEFINES Steve Snyder
     [not found] <3608F893.1CFB@yunix.co.yu>
     [not found] ` <6ub5c5$9g4$1@noc.wi.leidenuniv.nl>
1998-09-24  2:37   ` CPP_PREDEFINES J.H.M.Dassen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).