From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 78673 invoked by alias); 14 Feb 2016 19:42:45 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Received: (qmail 78654 invoked by uid 89); 14 Feb 2016 19:42:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=subscribed, our, interest, attractive X-HELO: gate2.alliedtelesis.co.nz Received: from gate2.alliedtelesis.co.nz (HELO gate2.alliedtelesis.co.nz) (202.36.163.20) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Sun, 14 Feb 2016 19:42:41 +0000 Received: from mmarshal3.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id 53B78803D3; Mon, 15 Feb 2016 08:42:37 +1300 (NZDT) Received: from svr-chch-ex1.atlnz.lc (Not Verified[10.32.16.77]) by mmarshal3.atlnz.lc with Trustwave SEG (v7,3,6,7949) id ; Mon, 15 Feb 2016 08:42:37 +1300 Received: from svr-chch-ex1.atlnz.lc (2001:df5:b000:bc8::77) by svr-chch-ex1.atlnz.lc (2001:df5:b000:bc8::77) with Microsoft SMTP Server (TLS) id 15.0.1156.6; Mon, 15 Feb 2016 08:42:36 +1300 Received: from svr-chch-ex1.atlnz.lc ([fe80::409d:36f5:8899:92e8]) by svr-chch-ex1.atlnz.lc ([fe80::409d:36f5:8899:92e8%12]) with mapi id 15.00.1156.000; Mon, 15 Feb 2016 08:42:36 +1300 From: Chris Packham To: Bryan Hundven CC: "andrew@ncrmnt.org" , "crossgcc@sourceware.org" , John Collis Subject: Re: crosstool-NG Debian packaging Date: Sun, 14 Feb 2016 19:42:00 -0000 Message-ID: References: <0b150341b49b479a97515de527f9791a@svr-chch-ex1.atlnz.lc> <5747700F-03E3-4CDD-B0CD-A12AD326A026@gmail.com> x-ms-exchange-transport-fromentityheader: Hosted Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes X-SW-Source: 2016-02/txt/msg00017.txt.bz2 On 02/13/2016 08:49 AM, Bryan Hundven wrote: > Chris, > >> On Feb 11, 2016, at 8:20 PM, Chris Packham wrote: >> >> On 02/11/2016 09:32 AM, Chris Packham wrote: >>> Hi Bryan, Andrew, >>> >>> I see that there is some movement on packaging crosstool-NG for Debian. >>> This is relevant to my interests and I have subscribed to your mailing >>> list :). >>> >>> Is there an open Debian bug for this? I've found a few older ones but >>> they all seem to have timed out due to lack of interest. >>> >>> I'm also interested in the possibility of generating debian packages for >>> the toolchains themselves. >>> >>> We're in the process of updating our cross toolchain(s) and being able >>> to distribute .deb files to our developers is quite attractive. Is >>> anyone looking at such a capability? If not any pointers? >>> >> >> For those that are interested. I've put something together that kind of >> works for me >> >> https://github.com/cpackham/cross-toolchain >> >> I'll need to do some more testing and add the additional configs I need >> but it looks promising. > > Just curious, but are you installing the prefix dir to the root of the bu= ild machine? > Just fyi, the cool thing about the toolchain that crosstool-ng produces i= s relocatable. ;) > (i.e. you can build it in $HOME/x-tools/$CT_TARGET and move it to /opt/$C= T_TARGET or where ever you want) In our case yes that's exactly what I'm doing. Our builds are done=20 inside a chroot so it's just easier if everything is in /bin & /usr/bin=20 (our build system hard-codes a few assumptions that it probably shouldn't). One problem I have noted with the resultant .debs is that some of the=20 extra files (e.g in /usr/share) will clash. I don't think we need most=20 of them so I probably will just end up moving or removing them. > > Cheers, > > -Bryan > -- For unsubscribe information see http://sourceware.org/lists.html#faq