Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFipMOFeFL7M2f7N0rgpHgJip_PpY=SSGVc6h7Dg=OND=yPGqw@mail.gmail.com>
Date: Tue, 26 Mar 2013 09:02:29 -0400
From: LM <lmemsm@...il.com>
To: musl@...ts.openwall.com
Subject: Will musl work as a lsb alternative? (was Re: re: musl setup attempt)

On 3/14/13, Szabolcs Nagy <nsz@...t70.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

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.