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: Problem compiling glibc with gcc 2.95.3


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!"


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