From: Reinoud Koornstra <reinoudkoornstra@gmail.com>
To: Rich Felker <dalias@libc.org>
Cc: musl@lists.openwall.com
Subject: Re: where to find musl-gcc wrapper script
Date: Mon, 17 Jun 2019 19:30:00 -0700 [thread overview]
Message-ID: <CAAA5faFMYDffy6rZQgYx4S7ncwWgNYH3nEKShETm9Evr1gZ4yQ@mail.gmail.com> (raw)
In-Reply-To: <CAAA5faH53_NWHAp+Y8dbzbcfx1O6YL-QbRRO+RY3J9mPHsSYOg@mail.gmail.com>
Ok the wrapper is included in the musl library itself in the obj directory.
c++ isn't supported yet?
Currently I configure with CC=musl-gcc
CFLAGS="-I/home/me/MUSL/include" LDFLAGS="-L/home/me/lib" ./configure
the final g++ comand also add -lrt, need more changes for this to work?
Thanks,
Reinoud.
On Mon, Jun 17, 2019 at 5:54 PM Reinoud Koornstra
<reinoudkoornstra@gmail.com> wrote:
>
> In this case, my application is simple, I need to compile and
> application against musl, instead of glibc.
> I do not need to musl compiled gcc for this?
> Thanks,
> Reinoud.
>
> On Mon, Jun 17, 2019 at 4:30 PM Rich Felker <dalias@libc.org> wrote:
> >
> > On Mon, Jun 17, 2019 at 03:49:19PM -0700, Reinoud Koornstra wrote:
> > > Hello Everyone,
> > > I did get the sources and build from musl-cross-gcc at github.com.
> > > Building works fine, however, I cannot find the musl-gcc script to compile.
> >
> > The musl-gcc wrapper script is for repurposing an existing host
> > toolchain for a different libc (glibc) to use it with musl. You don't
> > use it with a proper cross compiler toolchain or on a musl-native
> > system. The output of musl-cross-make will be a set of utilities
> > prefixed with the target tuple, e.g. x86_64-linux-musl-gcc, etc., in
> > the bin directory under wherever you installed the cross toolchain.
> >
> > Rich
next prev parent reply other threads:[~2019-06-18 2:30 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-17 22:49 Reinoud Koornstra
2019-06-17 23:30 ` Rich Felker
2019-06-18 0:54 ` Reinoud Koornstra
2019-06-18 2:30 ` Reinoud Koornstra [this message]
2019-06-18 2:47 ` Rich Felker
2019-06-18 3:28 ` Reinoud Koornstra
2019-06-18 17:49 ` Rich Felker
2019-06-18 18:27 ` Reinoud Koornstra
2019-06-18 18:43 ` Rich Felker
2019-06-18 21:19 ` Reinoud Koornstra
2019-06-18 21:37 ` Rich Felker
2019-06-18 21:49 ` Reinoud Koornstra
2019-06-18 21:58 ` Rich Felker
2019-06-18 22:54 ` Reinoud Koornstra
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=CAAA5faFMYDffy6rZQgYx4S7ncwWgNYH3nEKShETm9Evr1gZ4yQ@mail.gmail.com \
--to=reinoudkoornstra@gmail.com \
--cc=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).