On Sat, 16 Jan 2010, Jean-Denis Girard wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Gordon
Gordon Henderson a écrit :
Is there a proper, documented way to cross compile DAHDI and Asterisk for
a processor/system other than the one you're currently typing on?
Here is what I'm doing for building dahdi modules on my x86_64 system,
for geode target. In dahdi linux directory:
make KVERS=2.6.33-rc3-git3-sysnux KSRC=/home/jdg/RPM/BUILD/linux
Then install in /tmp/dahdi:
make DESTDIR=/tmp/dahdi ARCH=i386 KVERS=2.6.33-rc3-git3-sysnux
KSRC=/home/jdg/RPM/BUILD/linux install-modules
OK. I'll give that a go - I didn't think ARCH would be picked up.
And you ought to be able to use ARCH=geode as gcc recognises it. Whether
it actually produces different code remains to be seen, but I feel it's
good to make the effort.
Thanks,
Gordon
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users