Date: Thu, 22 Sep 2011 12:30:57 +0300 From: Aleksandr Rybalko <ray@dlink.ua> To: Mattia Rossi <mrossi@swin.edu.au> Cc: freebsd-arm@freebsd.org Subject: Re: How can I cross-compile the packages for ARM on i386 FreeBSD? Message-ID: <20110922123057.7da863a0.ray@dlink.ua> In-Reply-To: <4E7A7DB8.3040804@swin.edu.au> References: <op.v15v1ogoi1oka3@luxor.smartfruit.com> <4E7A7DB8.3040804@swin.edu.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 22 Sep 2011 10:13:44 +1000 Mattia Rossi <mrossi@swin.edu.au> 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 <ray@dlink.ua> aka Alex RAY <ray@ddteam.net>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110922123057.7da863a0.ray>