mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@libc.org>
To: musl@lists.openwall.com
Subject: Re: Compiling latest busybox with latest musl
Date: Fri, 8 Aug 2014 16:51:43 -0400	[thread overview]
Message-ID: <20140808205143.GR1674@brightrain.aerifal.cx> (raw)
In-Reply-To: <53E53368.3070107@decentral.ch>

On Fri, Aug 08, 2014 at 10:30:32PM +0200, Tim Tassonis wrote:
> Hi
> 
> Firstly, thanks for musl. I chose it to create fully-working statically
> linked binaries for a system without any glibc stuff on it and did not
> want to create a whole toolchain first, as required with uClibc.
> 
> When I wanted to create s statically linked busybox (1.22.1), I looked
> in the wiki and found the page:
> 
> http://wiki.musl-libc.org/wiki/Building_Busybox
> 
> 
> This put me off a bit, as I did not want to modify my kernel headers
> just to compile a static busybox.

In order to compile Busybox (at least the applets that need kernel
headers), you have to have a copy of the kernel headers in your musl
include path anyway; if the host system is glibc-based, /usr/include
will not be used. So this isn't as big a burden as it sounds like.
You're not modifying "your kernel headers" but just the copy installed
with musl. This does not need root.

Rich


  reply	other threads:[~2014-08-08 20:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-08 20:30 Tim Tassonis
2014-08-08 20:51 ` Rich Felker [this message]
2014-08-08 21:12   ` Tim Tassonis
2014-08-08 21:15     ` Rich Felker
2014-08-09  6:45 ` u-igbb

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=20140808205143.GR1674@brightrain.aerifal.cx \
    --to=dalias@libc.org \
    --cc=musl@lists.openwall.com \
    /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://git.vuxu.org/mirror/musl/

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 NNTP newsgroup(s).