git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Makefile: Change the default compiler from "gcc" to "cc"

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Dec 21, 2011, 01:06 UTC
Message-ID
<CACBZZX629-hP6kPR1rHQ1E7SoXHSE0a_S8G0Lm0m4=aizk+6hA@mail.gmail.com>
In-Reply-To
<7vr4zyiyih.fsf@alter.siamese.dyndns.org>
On Wed, Dec 21, 2011 at 01:01, Junio C Hamano <gitster@pobox.com> wrote:
Show 12 quoted lines
> Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
>
>> However unlike Linux Git is written in ANSI C and supports a multitude
>> of compilers, including Clang, Sun Studio, xlc etc. On my Linux box
>> "cc" is a symlink to clang, and on a Solaris box I have access to "cc"
>> is Sun Studio's CC.
>>
>> Both of these are perfectly capable of compiling Git, and it's
>> annoying to have to specify CC=cc on the command-line when compiling
>> Git when that's the default behavior of most other portable programs.
>
> Would this affect folks in BSD land negatively?
Previous: Junio C HamanoNext: Linus Torvalds
Message 3 of 5 in “Makefile: Change the default compiler from "gcc" to "cc"”
  1. Makefile: Change the default compiler from "gcc" to "cc"Ævar Arnfjörð Bjarmason, Dec 20, 2011
  2. Junio C HamanoDec 21, 2011
  3. Ævar Arnfjörð BjarmasonDec 21, 2011
  4. Linus TorvaldsDec 21, 2011
  5. Ævar Arnfjörð BjarmasonFeb 12, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.