This is the mail archive of the gcc@gcc.gnu.org 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


>   > > 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)


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