From: Pierre Neidhardt <mail@ambrevar.xyz>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: Help Guix <help-guix@gnu.org>
Subject: Re: Make and "cc" executable
Date: Sat, 17 Nov 2018 13:28:56 +0100 [thread overview]
Message-ID: <87y39revlj.fsf@ambrevar.xyz> (raw)
In-Reply-To: <87o9aymkzi.fsf@ambrevar.xyz>
[-- Attachment #1: Type: text/plain, Size: 456 bytes --]
Actually it doesn't. It breaks some Makefiles and some languages like Go (with
cgo).
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 "$@"
done
--8<---------------cut here---------------end--------------->8---
--
Pierre Neidhardt
https://ambrevar.xyz/
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
prev parent reply other threads:[~2018-11-17 12:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-08 8:38 Make and "cc" executable Pierre Neidhardt
2018-11-09 13:23 ` Ricardo Wurmus
2018-11-09 13:36 ` Pierre Neidhardt
2018-11-17 12:28 ` Pierre Neidhardt [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y39revlj.fsf@ambrevar.xyz \
--to=mail@ambrevar.xyz \
--cc=help-guix@gnu.org \
--cc=rekado@elephly.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.