Cross compiling


I’m trying to cross-compile asterik to run on a beaglebone black. I’m currently running on slackware and I have a cross-compiler in /opt/arm-unknown-linux-gnueabi.

I have the complete root filesystem of my BBB on /mnt/bbb.

When running ./configure, I am getting an error saying that termcap was not found. Indeed, it is not part of my toolchain. How would I tell the configure script to use the libraries that are in the rootfs in /mnt/bbb? and how can I also indicate that I want to install the software in /mnt/bbb ?

Thank you

I’d be surprised if any effort had gone into supporting cross-compiling.