From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/920 Path: news.gmane.org!not-for-mail From: Richard Pennington Newsgroups: gmane.linux.lib.musl.general Subject: Re: A little more progress today with clang/LLVM Date: Sat, 26 May 2012 06:59:44 -0500 Message-ID: <2149672.JvvDDTv0xm@main.pennware.com> References: <6099278.PLLg0Rc9Yf@main.pennware.com> <20120525230938.GZ163@brightrain.aerifal.cx> <20292255.R6gnMuUDLb@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 1338033657 22540 80.91.229.3 (26 May 2012 12:00:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 26 May 2012 12:00:57 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-921-gllmg-musl=m.gmane.org@lists.openwall.com Sat May 26 14:00:57 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 1SYFg0-0007mc-5K for gllmg-musl@plane.gmane.org; Sat, 26 May 2012 14:00:56 +0200 Original-Received: (qmail 8122 invoked by uid 550); 26 May 2012 12:00:56 -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 8114 invoked from network); 26 May 2012 12:00:55 -0000 X-Authority-Analysis: v=2.0 cv=D8PF24tj c=1 sm=0 a=/l7PkcR/UKDnn7Q2wmGJww==:17 a=hdNgKtvFP3AA:10 a=fR_ARpL9IlcA:10 a=gQu5c9skE_AA:10 a=msTO8fkKGJEA:10 a=kj9zAlcOel0A:10 a=N4Ps669bAAAA:8 a=UMy0bTrmu4vsQpGsf9IA:9 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; ; ) In-Reply-To: <20292255.R6gnMuUDLb@main.pennware.com> Xref: news.gmane.org gmane.linux.lib.musl.general:920 Archived-At: On Saturday, May 26, 2012 06:30:15 AM Richard Pennington wrote: [snip] > > A couple things I'm _NOT_ happy about in my current system are that > > the whole alltypes.h gets parsed again and again even (for each header > > that includes it) even if only a few types are needed each time. One > > thing I'm considering (but not yet decided on) is dropping it and > > instead having the build system generate all the headers from > > templates when musl is built, and put the expanded TYPEDEF templates > > right in the headers that use them. One somewhat silly reason that I wouldn't want this: a single ELLCC build/install supports all the targets. Currently I have a single include directory with target specific headers in target specific subdirectories, e.g. include/x86_64/bits/alltypes.h with all the other header files common. Also, I agree with your previous point that it is nice to go to one place (alltypes.h) to find the processor specific types. If you make this change, at least keep alltypes.h for reference. ;-) -Rich