Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAAA5faFMYDffy6rZQgYx4S7ncwWgNYH3nEKShETm9Evr1gZ4yQ@mail.gmail.com>
Date: Mon, 17 Jun 2019 19:30:00 -0700
From: Reinoud Koornstra <reinoudkoornstra@...il.com>
To: Rich Felker <dalias@...c.org>
Cc: musl@...ts.openwall.com
Subject: Re: where to find musl-gcc wrapper script

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@...il.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@...c.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

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.