From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/855 Path: news.gmane.org!not-for-mail From: Richard Pennington Newsgroups: gmane.linux.lib.musl.general Subject: Hi and a few questions Date: Sun, 20 May 2012 12:03:20 -0500 Message-ID: <1753849.ANqesc5nEP@main.pennware.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit X-Trace: dough.gmane.org 1337533475 1915 80.91.229.3 (20 May 2012 17:04:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 20 May 2012 17:04:35 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-856-gllmg-musl=m.gmane.org@lists.openwall.com Sun May 20 19:04:31 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1SW9YQ-00048Q-Uo for gllmg-musl@plane.gmane.org; Sun, 20 May 2012 19:04:27 +0200 Original-Received: (qmail 12264 invoked by uid 550); 20 May 2012 17:04:26 -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 12256 invoked from network); 20 May 2012 17:04:25 -0000 X-Authority-Analysis: v=2.0 cv=ae7jbGUt c=1 sm=0 a=/l7PkcR/UKDnn7Q2wmGJww==:17 a=hdNgKtvFP3AA:10 a=fR_ARpL9IlcA:10 a=msTO8fkKGJEA:10 a=kj9zAlcOel0A:10 a=N4Ps669bAAAA:8 a=fJQ8rcZWAAAA:8 a=FP58Ms26AAAA:8 a=dkT_Q-1-LwxCxhwwOy4A:9 a=Jf6JiscLyOFUhc4ZHTMA:7 a=CjuIK1q_8ugA:10 a=/l7PkcR/UKDnn7Q2wmGJww==:117 X-Cloudmark-Score: 0 X-Originating-IP: 65.26.59.215 User-Agent: KMail/4.8.3 (Linux/3.3.2-6.fc16.x86_64; KDE/4.8.3; x86_64; ; ) Xref: news.gmane.org gmane.linux.lib.musl.general:855 Archived-At: Hi, I'm putting together a set of tools and libraries for doing embedded C and C++ development using clang/LLVM. The web site describing the project is http://ellcc.org I just discovered musl (from a post on the minux mailing list) and it looks very cool. I'm currently using a partial Linux port of the NetBSD libraries, but it looks like musl might be a better choice. I'm thinking of switching, and I have a few questions, but first a little background. I want to target several processors, including i386, x86_64, arm, mips, microblaze, ppc, and ppc64 so it looks like musl support will have to be added for the currently unsupported processors. I've done some preliminary testing by compiling the Open POSIX Test Suite (http://posixtest.sourceforge.net) three ways: 1. with gcc/glibc, x86_64 2. with clang/LLVM/glibc, x86_64 3. with clang/LLVM/musl, x86_64 The results have been good enough that I'm pretty sure I want to switch: [~/ellcc/posixtestsuite] main% grep PASS logfile.musl | wc 5074 15286 275399 [~/ellcc/posixtestsuite] main% grep PASS logfile.ecc | wc 5381 16143 294510 [~/ellcc/posixtestsuite] main% grep PASS logfile.gcc | wc 5380 16140 294458 Now for my questions: 1. Can musl be built out of the source tree? I'd like to be able to build for different processors in different directories. 2. Are the include/bits files the only include files that differ between processors? 3. Are people actively working on other musl ports? I'd wouldn't want to duplicate their efforts. Sorry for the basic questions, but I just started looking at musl this morning. ;-) -Rich