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

Re: self contained executable

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Sep 16, 2009, 16:51 UTC
Message-ID
<vpqy6oedea2.fsf@bauges.imag.fr>
In-Reply-To
<ED42F58A-A814-467B-A37D-B485B2E267ED@gmail.com>
Joel Saltzman <saltzmanjoelh@gmail.com> writes:
> is it possible to compile git with all its dependencies so I can run
> it on a server that does not have root access?

Compiling with LDFLAGS='-static' is a first step, I'm not sure it's sufficient.

But as Alex already pointed out, you don't have to be root to install Git anyway (I'm using a git that I compiled myself, without being root on my machine).

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Alex RiesenNext: Alex Riesen
Message 3 of 4 in “self contained executable”
  1. Joel SaltzmanSep 16, 2009
  2. Alex RiesenSep 16, 2009
  3. Matthieu MoySep 16, 2009
  4. Alex RiesenSep 16, 2009

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.