This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: __i386__ and cpp
- To: law at cygnus dot com
- Subject: Re: __i386__ and cpp
- From: hjl at lucon dot org (H.J. Lu)
- Date: Wed, 4 Mar 1998 22:17:47 -0800 (PST)
- Cc: egcs at cygnus dot com
> > > In fact, it seems to me this should effect all systems. So I
> > > think the criteria for installing the wrapper ought to be
> > > solely based on a configure time option. Can you do that?
> > >
> >
> > How about we install cpp when host == target == build and
> > prefix == /usr? I can provide a patch to do it.
> Why do you want these conditions?
>
1. It doesn't make sense to install cpp for cross-compiler. Maybe
it should be host == target.
2. If prefix != /usr, that may indicate there is another C compiler
under /usr and a cpp linked to it.
So host == target and prefix == /usr mean we are the default
C compiler.
Another choice it to add --install-cpp to configure. I can
try that too. But that will need more work to modify egcs/configure
and gcc/configure.in.
Either way is ok with me. Let me know which one we want.
Thanks.
--
H.J. Lu (hjl@gnu.org)