This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: __i386__ and cpp

On Tue, 3 Mar 1998, Jeffrey A Law wrote:

>   In message <>you write:
>   > > 
>   > > 
>   > >   In message <>you write:
>   > >   > __i386__ has been dropped from cpp in 1996. It
>   > >   > causes a problem for imake since it calls cpp
>   > >   > directly. It would be nice for egcs 1.0.2 to
>   > >   > define __i386__ on all x86 platforms.
>   > > Actually, it looks like Imake is involing /lib/cpp, which is
>   > > a symlink into the gcc-2.7 gcc-lib directory on my linux boxes.
>   > > 
>   > > So how exactly are folks getting the egcs cpp when they're using
>   > > imake?
>   > > 
>   > 
>   > How about people who uses egcs 1.0.1 as their only compiler :-)?
>   > They will make such a link.
> So, do we just provide the script in the source dir for the user to
> install, or do we actually arrange to install it in the library
> directory?

Is this script really needed?  Are there any other cases of programs
checking for i386 via cpp?  If imake is the only one, why go thru the
trouble of the script for one specific case?  

>From the discussions that I've seen so far, the problem appears to be more
with the imake source than gcc.  I've rarely seen imake invoked directly. 
Wouldn't it be much easier to edit xmkmf and add -Di386 to the args list?

Also, I'm not sure if it's been mentioned, but when XFree86 is recompiled
with egcs, the problem goes away as imake defines -Di386 itself.

- cls

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]