X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id A37C3DC012D for ; Sun, 19 May 2013 13:48:57 +0000 (UTC) Received: from compute5.internal (compute5.nyi.mail.srv.osa [10.202.2.45]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 72F3420B7F for ; Sun, 19 May 2013 09:48:56 -0400 (EDT) Received: from web3.nyi.mail.srv.osa ([10.202.2.213]) by compute5.internal (MEProxy); Sun, 19 May 2013 09:48:56 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:subject:date; s=smtpout; bh=cOsQaQcmjgDU9Z7ES7IiFLDhWdc=; b=EE9C04jSw7J5tBlzeEOgTf7gTYY1 JW3/uPJ0Ot1z1ZqynqQZqJPogmHIockMbHG5KHf5cXQUXf+M+g2ZFLtwYXGCziMW aydSwD5wlC86T/VgucfFg2KDBonR0VLhwf+rkYV4/6KLVYBxD6rUf5G83foDtxvb abaVx2h0KfQqCNs= Received: by web3.nyi.mail.srv.osa (Postfix, from userid 99) id 31735BA2594; Sun, 19 May 2013 09:48:56 -0400 (EDT) Message-Id: <1368971336.26922.140661232943657.0A63CC00@webmail.messagingengine.com> X-Sasl-Enc: AC5qa/XvIOqg8ZvlHjlSA4tTdW20DHK8AslDxcj1sYMg 1368971336 From: Dubiousjim To: Alpine X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - html Subject: Re: [alpine-devel] Bunch of questions about Alpine's gcc package Date: Sun, 19 May 2013 09:48:56 -0400 On Sun, May 19, 2013 at 01:08:29PM +0200, Natanael Copa wrote: > On Fri, 17 May 2013 13:07:20 -0400 > Dubiousjim wrote: > > I'll try answer some of the more questions you had... Thanks Natanael for these prompt, careful, and very helpful replies. It helps me understand some things better, and I'll make some changes to my cross-compiling instructions. Maybe I'll wait until buildroot-2013.05 final is released (currently at rc2), and update everything then. The instructions I've used so far are now live in the wiki, here: http://wiki.alpinelinux.org/wiki/ArchLinux_install_inside_an_Alpine_chroot http://wiki.alpinelinux.org/wiki/Cross-Compiler_targeting_Alpine I'm still writing up the instructions for actually cross-compiling GHC. > I could mention that when we did the NPTL bootstrapping we used > crosstool-ng rather than buildroot. Main reason was that buildroot does > (did?) not provide us with a native gcc. Right, buildroot still doesn't put a native gcc or development headers and the like into the images. I'm just using the cross-compiling toolchain it constructs, and ignoring the images. (That is, I'm just using the stuff underneath $buildroot_dir/output/host, not the stuff under the other directories in output/.) I had tried crosstools-ng initially, but got stymied by something. That was too many iterations ago to remember what it was. I don't even remember if I got the cross-compiler to work, but then had trouble using it to build GHC, or didn't even get the first step completed. Perhaps now that I understand Alpine's native toolchain better, and have more experience setting up a cross-compiler, I'd be able to use crosstools-ng more successfully. -- dubiousjim@gmail.com --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---