How can I cross-compile the packages for ARM on i386 FreeBSD?

Aleksandr Rybalko ray at dlink.ua
Thu Sep 22 09:30:50 UTC 2011


On Thu, 22 Sep 2011 10:13:44 +1000
Mattia Rossi <mrossi at 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 at freebsd.org mailing list
>> > http://lists.freebsd.org/mailman/listinfo/freebsd-arm
>> > To unsubscribe, send any mail to
>> > "freebsd-arm-unsubscribe at freebsd.org"
>> 
>> 
>> _______________________________________________
>> freebsd-arm at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
>> To unsubscribe, send any mail to
>> "freebsd-arm-unsubscribe at 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 at dlink.ua> 
aka Alex RAY <ray at ddteam.net>


More information about the freebsd-arm mailing list