[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make and "cc" executable

From: Pierre Neidhardt
Subject: Re: Make and "cc" executable
Date: Sat, 17 Nov 2018 13:28:56 +0100
User-agent: mu4e 1.0; emacs 26.1

Actually it doesn't.  It breaks some Makefiles and some languages like Go (with

Instead, I've added a "cc" script to my PATH with the following:

--8<---------------cut here---------------start------------->8---
for i in /usr/local/bin/cc /usr/bin/cc /bin/cc clang gcc; do
        command -v $i >/dev/null 2>&1 && exec $i "$@"
--8<---------------cut here---------------end--------------->8---

Pierre Neidhardt

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]