pppd binary problem

Pramod
I download the ppp-2.4.5 tar file 
extract it


#./configure --host=arm-linux-
#make

but not creating pppd file for arm linux

it shows


file pppd
pppd: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically
linked (uses shared libs), for GNU/Linux 2.6.18, not stripped

Any one pls help to generate proper pppd binary for ARM

davef
I suggest something like:

./configure --host=arm-linux-gnu --build=i386-linux-gnu

Juergen Beisert
Take a look into the 'configure' script and you will face the mess...

This is no autotools generated script. You need to feed some variables like
'CC' into the Makefile to get it compile for your target.

davef
A complete example script:

#!/bin/bash

# cross-compile for p11-kit-0.9
# run this script from home/davef as sudo ./p11-kit-0.9-compile.sh

# export PATH to your toolchain
export
PATH=/opt/OSELAS.Toolchain-2011.03.0/arm-v4t-linux-gnueabi/gcc-4.5.2-glibc-2.13-
binutils-2.21-kernel-2.6.36-sanitized/bin:$PATH

# general cross-compile
export CROSS_COMPILE=arm-v4t-linux-gnueabi-
export CC=${CROSS_COMPILE}"gcc"

cd p11-kit-0.9/

./configure --host=arm-linux-gnu --build=i386-linux-gnu
--prefix=/home/davef/install-arm

make

sudo make install