[asterisk-dev] Cross compile

Tzafrir Cohen tzafrir.cohen at xorcom.com
Wed Feb 23 20:05:44 CST 2011


On Wed, Feb 23, 2011 at 05:14:02PM -0500, David Ruggles wrote:
> This may be more of a general linux dev question then specific to asterisk,
> but since it affects me with asterisk I'm asking y'all :-)
> 
> I assume it's possible to cross compile asterisk for 32bit linux on a 64bit
> linux machine, is it? If so, how complicated is it and/or are there any
> directions on how to do it? I run 64bit Fedora and CentOS however I'm
> building modules for clients using 32bit CentOS. I could run a 32bit VM, and
> that might be easiest, but I wanted to know if cross compiling was an
> option.

Create a 32bit container (lxc). Unlike a virtual machine, both share the
same file system. Makes it much more handy for a build environment.
You can e.g. bind-mount relevant parts of your working environment.

Watch out for different versions of subversion with different formats of
the working copy. Don't run any 'svn' command with the Fedora version of
svn on a Centos SVN working copy.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-dev mailing list