How to compile zaptel and asterisk in ARM_linux

hello, all friends:
i want to move asterisk and zaptel to arm_linux. i need to cross-compile the zaptel and asterisk. how do i change the setting to compile zaptel and asterisk under arm_linux. i am using arm-linux-gcc to compile that. anyone has an idea for this question? please give me a hand!
thanks!