From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10316 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: clockspeed Date: Wed, 13 Jul 2016 15:42:27 -0400 Message-ID: <20160713194227.GL15995@brightrain.aerifal.cx> References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1468438967 24173 80.91.229.3 (13 Jul 2016 19:42:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Jul 2016 19:42:47 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-10329-gllmg-musl=m.gmane.org@lists.openwall.com Wed Jul 13 21:42:44 2016 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 1bNQ3O-0007ZY-Jg for gllmg-musl@m.gmane.org; Wed, 13 Jul 2016 21:42:42 +0200 Original-Received: (qmail 32604 invoked by uid 550); 13 Jul 2016 19:42:40 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 32580 invoked from network); 13 Jul 2016 19:42:39 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:10316 Archived-At: On Wed, Jul 13, 2016 at 12:04:36PM -0700, Jorge Almeida wrote: > Has anyone compiled clockspeed against musl, in a x86_64? I'm guessing you mean DJB's package, but the name is generic enough that I can't be sure. Next time try to be more clear. > If so, would you share conf-cc and conf-ld? I just did as a test and it has some obvious issues like missing and wrong prototypes for standard functions and "extern int errno;" rather than #include (the latter is DJB's willfully wrong code to make a point that he likes being wrong), but it compiled "ok" after changing error.h. No idea if it works. I didn't modify conf-cc or conf-ld at all because the native gcc targets musl, but if you wanted to cross-compile it would probably work putting the name of your cross compiler there, or the musl-gcc wrapper even. Rich