mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Shiz <hi@shiz.me>
To: musl@lists.openwall.com
Cc: Paulo Castro <p.oliveira.castro@gmail.com>, simoes.lucas.silva@gmail.com
Subject: Re: Using Musl with LLVM/Clang
Date: Tue, 26 May 2015 03:33:19 +0200	[thread overview]
Message-ID: <12AE8608-7269-4325-9566-9897073E61A3@shiz.me> (raw)
In-Reply-To: <CADP2nBKcRUgpccnK1AkHcnBkp0KLwhRKBfxUkXuqjPX92e+vNw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1072 bytes --]

There’s sadly no trivial clang wrapper script as of yet, but you can look at the ELLCC project[1],
which distributes prebuilt musl-powered LLVM toolchains. Wrapping clang with a musl-gcc like script
would be absolutely desirable, but I’m unsure how possible that is given clang’s apparent lack of specs files[2].

-S

[1]: http://ellcc.org/
[2]: http://clang.llvm.org/docs/DriverInternals.html#relation-to-gcc-driver-concepts

> On 25 May 2015, at 22:32, Lucas Simões <simoes.lucas.silva@gmail.com> wrote:
> 
> Hi everyone,
> 
> Me and my friend CC'd on this email are trying to use musl as libc to compile some programs on ArchLinux.
> We've successfuly used musl with GCC using yours' musl-gcc script, on the other hand we couldn't find a way to use it altogether with Clang.
> 
> Do you guys have any idea on which flags needed to achieve this?
> 
> Thank you very much and sorry about the silly question, we couldn't find it anywhere on the web.
> 
> Lucas
> 
> Please CC to simoes.lucas.silva@gmail.com and p.oliveira.castro@gmail.com


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

  reply	other threads:[~2015-05-26  1:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-25 20:32 Lucas Simões
2015-05-26  1:33 ` Shiz [this message]
2015-05-26  1:37   ` Rich Felker
2015-05-26  1:53     ` Shiz
2015-05-26  7:48       ` Justin Cormack
2015-05-27  0:23         ` Lucas Simões
2015-05-27  1:20           ` Richard Pennington
2015-05-27  1:38           ` Shiz

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=12AE8608-7269-4325-9566-9897073E61A3@shiz.me \
    --to=hi@shiz.me \
    --cc=musl@lists.openwall.com \
    --cc=p.oliveira.castro@gmail.com \
    --cc=simoes.lucas.silva@gmail.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).