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: 'Daniel Jacobowitz' <dmj+ at andrew dot cmu dot edu>
- Subject: RE: Problem compiling glibc with gcc 2.95.3
- From: David Korn <dkorn at pixelpower dot com>
- Date: Tue, 20 Mar 2001 16:12:56 -0000
- Cc: gcc at gcc dot gnu dot org, "'bug-glibc at gnu dot org'" <bug-glibc at gnu dot org>
>-----Original Message-----
>From: Daniel Jacobowitz [mailto:dmj+@andrew.cmu.edu]
>Sent: 20 March 2001 15:31
>> 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$$||'`
Ah, thanks for the explanation; sed scripts are pretty impenetrable
to me.
DaveK
--
All your base are belong to us!
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************