This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: __i386__ and cpp
- To: hjl at lucon dot org (H.J. Lu)
- Subject: Re: __i386__ and cpp
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 05 Mar 1998 00:30:22 -0700
- cc: egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <m0yATyV-00058JC@ocean.lucon.org>you write:
> 1. It doesn't make sense to install cpp for cross-compiler. Maybe
> it should be host == target.
I disagree. I might have a cross build environment that wants to
call cpp. In fact, I've had to do this before.
> 2. If prefix != /usr, that may indicate there is another C compiler
> under /usr and a cpp linked to it.
Right. But if we're providing cpp, it should be provided under
$prefix regardless of the value of $prefix. Anything else is
flat out wrong. Also see #1.
> 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.
I would prefer a configure time option.
jeff