This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Problem compiling glibc with gcc 2.95.3
- To: David Korn <dkorn at pixelpower dot com>
- Subject: Re: Problem compiling glibc with gcc 2.95.3
- From: Daniel Jacobowitz <dmj+ at andrew dot cmu dot edu>
- Date: Tue, 20 Mar 2001 10:30:55 -0500
- Cc: gcc at gcc dot gnu dot org, "'bug-glibc at gnu dot org'" <bug-glibc at gnu dot org>
- References: <718D38CAB6E0D011B2C90060970C28A564276D@EXCHANGESERVER>
On Tue, Mar 20, 2001 at 12:31:13PM -0000, David Korn wrote:
> I can think of several ways to make longer term fixes:
>
> 1) gcc-2.95.3+ could notice when it was being asked for the internal
> subprogram 'cpp' and return the result as if it had been asked for 'cpp0'.
> This is a bit of a nasty hack, as it would fail if someone asked for
> the path to cpp and then stripped off the path and appended the filename
> themselves.
Which, incidentally, is exactly what glibc does:
rpcgen-cmd = $(built-program-cmd) -Y `$(CC) -print-file-name=cpp | \
sed 's|/cpp$$||'`
--
Daniel Jacobowitz Debian GNU/Linux Developer
Monta Vista Software Debian Security Team
"I am croutons!"