mailing list of musl libc
 help / color / mirror / code / Atom feed
* Will musl work as a lsb alternative? (was Re: [musl] re: musl setup attempt)
@ 2013-03-26 13:02 LM
  2013-03-26 23:03 ` Rich Felker
  0 siblings, 1 reply; 13+ messages in thread
From: LM @ 2013-03-26 13:02 UTC (permalink / raw)
  To: musl

On 3/14/13, Szabolcs Nagy <nsz@port70.net> wrote:
> if exec fails then something is wrong before the application
> starts, maybe you can see what happens if you strace the
> loader, which you can do by
>
>  strace path/to/libc.so wavpack

Thanks for the suggestion.  Found the problem.  Bad link during
installation.  It's working fine now.

I've built some applications with musl and so far, it's working really
well.  What I'm really curious about and one of the reasons I wanted
to try musl out was that I was wondering if it could be used to do
some of the things lsb proponents say lsb (Linux Systems Base) can do.
 Specifically, I'd like to be able to build applications with the
compiler and have them work if I take them to any ix86 system.  So, if
I built the applications on a Debian system, I'd like to be able to
still run them on a Red Hat system or OpenSuse or Slackware, etc. as
long as the system uses the same type of processor.  Am also wondering
if it would be necessary to build everything statically or whether it
would work dynamically if all required libraries were available on the
target system.  Another option might be to build an application with
the C library linked in statically and the rest of the libraries
dynamic.  Still looking into pros and cons for the various options.

If this sounds feasible, my next question is about building musl to
handle C++.  I read in the list archives that there was a successful
C++ build.  I also read this can't be done as a wrapper.  Found the
list of cross-compilers at (
http://wiki.musl-libc.org/wiki/Getting_started ) and was thinking the
crossx86-i486-linux-musl-0.9.9.tar.xz might do the trick.  However,
are there any instructions for building the cross-compilers and the
C++ implementation like there are for the install information?  Would
like to try to build the C/C++ cross-compilers from source.  Am hoping
they can coexist with my current gnu C/C++ compiler on my Debian
system the way the lsb compilers coexist with it.

Any suggestions, recommendations?  Would I be better off sticking with
lsb or will musl do the job as well?  Thanks for the help.

Sincerely,
Laura


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2013-03-28 12:12 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-26 13:02 Will musl work as a lsb alternative? (was Re: [musl] re: musl setup attempt) LM
2013-03-26 23:03 ` Rich Felker
2013-03-27  1:40   ` Isaac Dunham
2013-03-27  3:20     ` Rich Felker
2013-03-28  4:28       ` Rob Landley
2013-03-28 12:12         ` Rich Felker
2013-03-27 13:58     ` Rob Landley
2013-03-27 15:11       ` LM
2013-03-27 14:23     ` LM
2013-03-27 22:14       ` Isaac Dunham
2013-03-28 11:56         ` LM
2013-03-27 16:21   ` R P Herrold
2013-03-27 17:18     ` Kurt H Maier

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).