mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Szabolcs Nagy <nsz@port70.net>
To: musl@lists.openwall.com
Subject: Re: musl works in distro x-lsf-2010 - advice of use requested
Date: Mon, 2 May 2016 21:14:32 +0200	[thread overview]
Message-ID: <20160502191431.GR22574@port70.net> (raw)
In-Reply-To: <572672D9.2040409@cox.net>

* anonymous <johnandsara2@cox.net> [2016-05-01 17:19:21 -0400]:
> Hi.  I have "new distro* compiling musl" (easy) - should it build pkgs
> against it?
> 
> http://sourceforge.net/p/x-lfs-2010/
> 
> (to build musl-libc, only required "-std=c99" added to CFLAGS, which is not
> default for gcc-4.4.5 which is used)

no version of gcc defaults to -std=c99 and the
build system of musl handles the flags it needs.

> i have gnu libc6 and libc5 fully sourced and compiled (i can't say i'm too
> happy with the complexity but they build and run)
> 
> QUESTION: Should I try building gnu automake or other packages against
> musl-libc and offer the option to build against musl-libc?  Or is it more
> "no, use musl-libc for NEW embedded projects and leave libc6 libc5 as they
> are for supporting (2010 era) linux bins"
> 

for any libc it is important to be compatible with
existing code (otherwise why not invent a completely
new platform with new language and standard library?)

> x-lfs-2010 distro build all from scratch (350+ pkg) hands free overnight,
> and the end result need to be runtime libc6 and libc5-compat to run "unix
> bins" (ie, bins that would work in either slackware or debian because they
> are both unix and i386) and mostly: commercial mathematica around version 4
> 
> sure i could build some pkgs against musl-libc but for the big picture "what
> issues am i looking at for musl-libc to act as libc and libc5-compat" and
> would musl-libc like to see such a development ?
> 

executables linked against glibc are not supposed to
work with musl, but you should be able to build
packages from source against musl.

see the packages and patches in alpine or void linux.

it's also not impossible to have glibc on a musl based
system, but you need to be careful with the lib paths etc.

> have a good one!


      reply	other threads:[~2016-05-02 19:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-01 21:19 anonymous
2016-05-02 19:14 ` Szabolcs Nagy [this message]

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=20160502191431.GR22574@port70.net \
    --to=nsz@port70.net \
    --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).