From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/3807 Path: news.gmane.org!not-for-mail From: Kirk Terrell Newsgroups: gmane.linux.lib.musl.general Subject: Re: Embedded distro Date: Sat, 03 Aug 2013 11:14:08 -0700 Message-ID: <51FD4870.1000902@mybluelight.com> References: <51FD2D8A.5060402@mybluelight.com> <20130803164312.GJ25714@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1375553632 15685 80.91.229.3 (3 Aug 2013 18:13:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 3 Aug 2013 18:13:52 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-3811-gllmg-musl=m.gmane.org@lists.openwall.com Sat Aug 03 20:13:55 2013 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 1V5gKx-00006y-7G for gllmg-musl@plane.gmane.org; Sat, 03 Aug 2013 20:13:55 +0200 Original-Received: (qmail 1954 invoked by uid 550); 3 Aug 2013 18:13:54 -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 1940 invoked from network); 3 Aug 2013 18:13:54 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mybluelight.com; s=alpha; t=1375553621; bh=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=; l=0; h=Message-ID:Date:From:To:Subject:Content-Type; b=l9ikueq97fG/ZWRvRhi2xHias4MkGYkee3NZSYgT1WkFxML3XLgmv7eHDHBCArwoE 79u1CKlzbGKsAp5ON9su3H4zSymY4nInqwAFvKMmvhSMYIxCiF40AUZrl/oLvX8ebH M4uQPtCnNQpVGDILeEkyOQmlrMUtkbbw2odk6czk= X-UOL-TAGLINE: true User-Agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120827 Thunderbird/15.0 In-Reply-To: <20130803164312.GJ25714@port70.net> X-UNTD-BodySize: 1320 X-ContentStamp: 11:5:1475037412 X-MAIL-INFO: 139000a090e5c0ad7000e0a070f038d9346080b001a1a560100150d584b10d844dad650991ad90 X-UNTD-OriginStamp: Ow32KLW1sdAwxi2Cm1J3JhVv/eaupHX8ItzLuvq24p+xE88PXP2Pt+H6XREuHMBx X-UNTD-Peer-Info: 10.171.42.34|smtpout04.dca.untd.com|smtpout04.dca.untd.com|knjterrell@mybluelight.com Xref: news.gmane.org gmane.linux.lib.musl.general:3807 Archived-At: On 08/03/2013 09:43 AM, Szabolcs Nagy wrote: > * Kirk Terrell [2013-08-03 09:19:22 -0700]: >> I've been working on a distro that is a fork from the CLFS Embedded >> project that uses musl libc in place of libc. I've managed to boot >> an emulated Vexpress-a9 target using the instructions at >> http://kanj.github.io/elfs/book/armMusl/index.html. >> > is the --host really the CLFS_TARGET? should it be renamed in the configure script? > > CROSS_COMPILE=${CLFS_TARGET}- ./configure --prefix=${CLFS} --disable-gcc-wrapper \ > --host=${CLFS_TARGET} --build=${CLFS_HOST} --syslibdir=${CLFS}/lib --includedir=${CLFS}/usr/include According to ./configure --help System types: --target=TARGET configure to run on target TARGET [detected] --host=HOST same as --target I think --host is legitimate but is confusing. I should look into changing this. > > what needs these header hacks? > > cp ${CLFS}/usr/include/linux/if_slip.h ${CLFS}/usr/include/net/if_slip.h > cp ${CLFS}/usr/include/net/if_arp.h ${CLFS}/usr/include/linux/if_arp.h > > > I did this because busybox complained about header locations - these are headers from the kernel, not from Musl. This issue did not present when building a similar system using uClibc. Thank you for the feedback. kirk ____________________________________________________________ RN to BSN Online Option Earn Your RN To BSN in 3 Semesters. Online, Affordable & User Friendly http://thirdpartyoffers.netzero.net/TGL3341/51fd482e7e5c1482b4672st04duc