From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/7765 Path: news.gmane.org!not-for-mail From: Shiz Newsgroups: gmane.linux.lib.musl.general Subject: Re: Using Musl with LLVM/Clang Date: Tue, 26 May 2015 03:33:19 +0200 Message-ID: <12AE8608-7269-4325-9566-9897073E61A3@shiz.me> References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: multipart/signed; boundary="Apple-Mail=_FBF2A5C8-5C9B-489F-9648-491BF87D3D48"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Trace: ger.gmane.org 1432604036 30043 80.91.229.3 (26 May 2015 01:33:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 May 2015 01:33:56 +0000 (UTC) Cc: Paulo Castro , simoes.lucas.silva@gmail.com To: musl@lists.openwall.com Original-X-From: musl-return-7777-gllmg-musl=m.gmane.org@lists.openwall.com Tue May 26 03:33:51 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Yx3kb-0003tv-NL for gllmg-musl@m.gmane.org; Tue, 26 May 2015 03:33:49 +0200 Original-Received: (qmail 22301 invoked by uid 550); 26 May 2015 01:33:48 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 22281 invoked from network); 26 May 2015 01:33:47 -0000 X-Virus-Scanned: amavisd-new at shiz.me X-Pgp-Agent: GPGMail 2.5b6 In-Reply-To: X-Mailer: Apple Mail (2.2070.6) Xref: news.gmane.org gmane.linux.lib.musl.general:7765 Archived-At: --Apple-Mail=_FBF2A5C8-5C9B-489F-9648-491BF87D3D48 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 There=E2=80=99s 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=E2=80=99m unsure how possible that = is given clang=E2=80=99s apparent lack of specs files[2]. -S [1]: http://ellcc.org/ [2]: = http://clang.llvm.org/docs/DriverInternals.html#relation-to-gcc-driver-con= cepts > On 25 May 2015, at 22:32, Lucas Sim=C3=B5es = wrote: >=20 > Hi everyone, >=20 > 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. >=20 > Do you guys have any idea on which flags needed to achieve this? >=20 > Thank you very much and sorry about the silly question, we couldn't = find it anywhere on the web. >=20 > Lucas >=20 > Please CC to simoes.lucas.silva@gmail.com and = p.oliveira.castro@gmail.com --Apple-Mail=_FBF2A5C8-5C9B-489F-9648-491BF87D3D48 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQIcBAEBCAAGBQJVY81vAAoJEI8YjKeZk+kHujUP/RJHlyuraox+mL9TZSZ6YqAn svaiQAQLt0kB6AacSVgOL1fHPgp+POWs7ojyXr4LPC9eVGHQtyy54H58YdjSYseX QH29wMUcdk6zkuDF9D4BHH5C+IoH2j/JPf3iLfo9v+mNPegsueCzWoNr5/xM8yqs DgQiCJ0culMALsPaoZ2yK/wMLMzExCJt1m1RBBDuNOjA8X36QSfHQ9wscqOCkchb 6rHnFs/pLtruOGCslpuN+YhM2ENxEZFA02pi1AHB+SDQII7EbRWgq/JJLAtCX5oa Xm/z/s5TMxKBCD2e8xY7veYEElY0YFouzwWjDnyjTfvZvaAfQW1wLT5SsSt4NWIs Wq3XxMC2hTi3zvLAPvnsOH1ptomh6Sl3oNhr1BDI5AOAJGekMMyGcoeakS6Y/YdZ C9Qagnp5gZ2PwxQc4zgPq7KSHZLI37lP7e0u3IaBJk7w7kCt4kNdROhF8z2tIAZH r2IQv0tnnzuJr7t4qYbBPXfPfRvSmMgOt/Id8YfyUrCpHrvq/mPSCBQV0TAD2Ro/ B8t7+G7zeVkfh+MIphOr9eUqw9mu445RKfN4sflGFHU9i33CctUmCbd2w3DkhJak Ln5/QqtlBcCWYgnJhGiEWGVWpgx32ezSvck3853D3YYwysC9yBoZAPsSXX5VZSLp NvheDuqXl5Ikaea7txOj =Nw7r -----END PGP SIGNATURE----- --Apple-Mail=_FBF2A5C8-5C9B-489F-9648-491BF87D3D48--