git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Jeff King <peff@peff.net>
To: Santiago Torres <santiago@nyu.edu>
Cc: Fabio Aiuto <polinice83@libero.it>, git@vger.kernel.org
Subject: Re: Can't build first git commit
Date: Wed, 6 Mar 2019 16:54:19 -0500	[thread overview]
Message-ID: <20190306215419.GB32630@sigill.intra.peff.net> (raw)
In-Reply-To: <20190306203910.xr2bwpqb3zrxnm63@LykOS.localdomain>

On Wed, Mar 06, 2019 at 03:39:11PM -0500, Santiago Torres wrote:

> I still find it somewhat astounding that it compiles with a modern
> toolchain after 15+ years. Many projects fail to do so (it's an
> understandably high bar to have).

I think the key thing is that Git has very few external dependencies.
You'll note that I had to turn off OpenSSL support to get it to compile.
The only other library from back then is libz, which is extremely
stable.

Other than, it just depends on a reasonable C compiler and a POSIX libc,
both of which have been standardized for decades.

I suspect that today's Git will also compile pretty well in 15 years,
but you'll probably to say NO_GETTEXT and turn a few other knobs.
Libcurl might eventually be a problem, though I've been pretty impressed
with its stability and backwards-compatibility so far (and of course
it's optional if disabling http support is OK).

-Peff

  reply	other threads:[~2019-03-06 21:54 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-04 19:58 Can't build first git commit Fabio Aiuto
2019-03-04 20:10 ` Santiago Torres
2019-03-04 20:19   ` Fabio Aiuto
2019-03-04 20:22     ` Santiago Torres
2019-03-04 21:48     ` asymptosis
2019-03-04 22:25     ` Jonathan Nieder
2019-03-04 20:40 ` Jeff King
2019-03-05 18:42   ` Fabio Aiuto
2019-03-05 19:15   ` Jeff King
2019-03-06 19:58     ` Fabio Aiuto
2019-03-06 20:03       ` Jeff King
2019-03-06 20:19         ` Fabio Aiuto
2019-03-06 20:39           ` Santiago Torres
2019-03-06 21:54             ` Jeff King [this message]
2019-03-06 20:52         ` Fabio Aiuto
2019-03-06 21:57           ` Jeff King
     [not found]             ` <1551985495.1606.1.camel@libero.it>
2019-03-07 19:41               ` Jeff King
2019-03-07 20:07                 ` Fabio Aiuto

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

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190306215419.GB32630@sigill.intra.peff.net \
    --to=peff@peff.net \
    --cc=git@vger.kernel.org \
    --cc=polinice83@libero.it \
    --cc=santiago@nyu.edu \
    /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 public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).