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

Re: self contained executable

From
Alex Riesen <raa.lkml@gmail.com>
Date
Sep 16, 2009, 16:44 UTC
Message-ID
<81b0412b0909160944xe2ae0b4u988e8ced7416e5f6@mail.gmail.com>
In-Reply-To
<C3C630B6-7B54-42BE-9312-20BC20B7F051@gmail.com>
On Wed, Sep 16, 2009 at 18:36, Joel Saltzman <saltzmanjoelh@gmail.com> wrote:
> The last part is what I am trying to figure out. How do I set those linking
> flags?
Below, I assume you're a familiar with compilation.

Open Makefile and find the line "Platform specific tweaks". That should be an example(s) for variables to set. Don't mind the ifeq's. Open config.mak and put there all the -I$$HOME/... and -L$$HOME/... you need to reach the missing headers and libraries. Your configuration will override the preset values.

That's almost it: you have to find out what exactly you're missing on your own (for example, you may actually have curl and openssl).

Previous: Matthieu Moy
Message 4 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.