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: A patch for Makefile.in


Andi Kleen <ak@muc.de> writes:

|> The idea was that if gcc installed it per default in $(execprefix)/bin then 
|> a simple symlink would suffice for that. Currently it is a pain to keep
|> the /lib/cpp link up to date with the varying gcc-lib/.../../ directory
|> names.

Make /lib/cpp a simple script like this:

#!/bin/sh
exec $(${CC-gcc} -print-prog-name=cpp) "$@"

(Perhap add some error checks.)

-- 
Andreas Schwab                                      "And now for something
schwab@issan.informatik.uni-dortmund.de              completely different"
schwab@gnu.org


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