A patch for Makefile.in

Andreas Schwab schwab@issan.informatik.uni-dortmund.de
Wed Jul 29 03:52:00 GMT 1998


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



More information about the Gcc mailing list