From owner-freebsd-arm@FreeBSD.ORG Thu Sep 22 09:30:50 2011 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A2D1106566B for ; Thu, 22 Sep 2011 09:30:50 +0000 (UTC) (envelope-from ray@dlink.ua) Received: from dlink.ua (smtp.dlink.ua [193.138.187.146]) by mx1.freebsd.org (Postfix) with ESMTP id 86E198FC12 for ; Thu, 22 Sep 2011 09:30:49 +0000 (UTC) Received: from gw-lan1.kiev.dlink.ua ([192.168.10.10] helo=terran.dlink.ua) by dlink.ua with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1R6fc9-0003vY-Ky; Thu, 22 Sep 2011 12:30:43 +0300 Date: Thu, 22 Sep 2011 12:30:57 +0300 From: Aleksandr Rybalko To: Mattia Rossi Message-Id: <20110922123057.7da863a0.ray@dlink.ua> In-Reply-To: <4E7A7DB8.3040804@swin.edu.au> References: <4E7A7DB8.3040804@swin.edu.au> Organization: D-Link X-Mailer: Sylpheed 2.7.1 (GTK+ 2.20.1; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org Subject: Re: How can I cross-compile the packages for ARM on i386 FreeBSD? X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Sep 2011 09:30:50 -0000 On Thu, 22 Sep 2011 10:13:44 +1000 Mattia Rossi wrote: >> Here you'll find my experience with cross-compiling: >> >> http://matrossi.blogspot.com/2011/08/cross-compiling-ports-for-arm-under.html >> >> You need to play with the configure args and the -rpath an -L >> settings a bit, and compile one port a at a time (each dependency by >> itself) for best results. >> >> The end of cross-compiling came to me in the form of perl.. >> >> Mat >> >> On 22/09/2011 00:04, Naoyuki Tai wrote: >> > >> > I'm running my DreamPlug off of a 4GB USB stick. First partition is >> > a small DOS partition for kernel.bin, and the rest (/dev/sd2s2a) is >> > the root partition. (I'll switch to larger SD card at some point.) >> > >> > With the root file system compiled into the kernel, >> > (options ROOTDEVNAME=\"ufs:/dev/da2s2a\") >> > >> > The first snag was that I could not use the portsnap. >> > After googling a little, I found out that disabling the clustering >> > of file I/O may fix it. >> > >> > cat /etc/fstab >> > /dev/da2s2a / ufs rw,noclusterr,noclusterw 1 1 >> > >> > After finding this out, I noticed >> > >> > http://www.plugcomputer.org/plugwiki/index.php/FreeBSD_8.0_Setup >> > >> > uses these mount option flags. (doh!) >> > >> > >> > Anyhow, at this point, I can probably compile every port. But it >> > would be really time consuming to do so on the DreamPlug. >> > >> > I'd like to learn how I can build the packages for the ARM on >> > the Intel FreeBSD 8.2 where I compiled the kernel for ARM. >> > Could someone point the direction for me? >> > >> > Thanks. >> > >> > -- Tai >> > _______________________________________________ >> > freebsd-arm@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-arm >> > To unsubscribe, send any mail to >> > "freebsd-arm-unsubscribe@freebsd.org" >> >> >> _______________________________________________ >> freebsd-arm@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-arm >> To unsubscribe, send any mail to >> "freebsd-arm-unsubscribe@freebsd.org" Hi folks, I wrote small howto "How incorrectly cross build FreeBSD ports" http://ray-freebsd.blogspot.com/2011/09/cross-compiling-ports-for-freebsd.html Hope this will help WBW -- Alexandr Rybalko aka Alex RAY