X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail.renta.net (mail.renta.net [203.25.238.7]) by lists.alpinelinux.org (Postfix) with ESMTP id B2FF71EFC00 for ; Thu, 30 Jul 2009 13:18:58 +0000 (UTC) Received: from [192.168.1.4] (60-240-81-28.static.tpgi.com.au [::ffff:60.240.81.28]) (AUTH: CRAM-MD5 markc@renta.net) by mail.renta.net with esmtp; Thu, 30 Jul 2009 23:18:56 +1000 id 00030037.4A719DC0.000075C0 Message-ID: <4A719F9C.4040304@renta.net> Date: Thu, 30 Jul 2009 23:26:52 +1000 From: Mark Constable User-Agent: Thunderbird 2.0.0.22 (X11/20090719) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 To: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] Multi architecture support References: <4A713B06.9050101@renta.net> <1248958118.19561.33.camel@localhost.localdomain> In-Reply-To: <1248958118.19561.33.camel@localhost.localdomain> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Natanael Copa wrote: > This should work, but I have never tried it. I think most APKBUILDs will > work too. Looking at Arch Linux it seems like most x86_64 bit specifics > are related to PIC, which we need anyway due to our hardened toolchain. It seems CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe" makes gcc use -fPIC by default (this is from an ncurses attempt)... gcc -I../test -I. -DHAVE_CONFIG_H -I. -I../include -march=x86-64 -mtune=generic -O2 -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe --param max-inline-insns-single=1200 -fPIC -c ../test/background.c -o ../obj_s/background.o >> arm8 and possibly ppc (ps3) eventually. > > Those would probably require cross-compiling. To bootstrap, sure, but I'm hoping the Beagleboard, with external USB HDD, will be powerful enough to build packages natively. > I think its possible but it will probably require some redesign of > abuild and extra things to consider in APKBUILDs. One way to find out :) >> I have a Beagelboard begging for some TLC. > > TLC? "tender loving care". I've had the beagelboard for a couple of weeks but I haven't even plugged it in yet. http://beagleboard.org/hardware > I'm not familiar with ArchMobile. Does it cross-compile or native > compile in qemu? Native compile in qemu might work but is slow. Best answerred by... http://www.archmobile.org/trac/wiki/AFR/BuildEnvironment http://bbs.archlinux.org/viewtopic.php?pid=587134#p587134 > Btw, i use vserver for my development of x86. Its like an advanced > chroot. I should look into it. chroot is simple and native speed. --markc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---