views:

4

answers:

0

Hi all !

i am new to cross-compile process. i had created toolchain from friendlyarm by installing arm-linux-gcc(4.3.2) compiler and scratchbox2. and i have successfully compiled Hello World program (it isn't so hard),by typing file and output file name it gives me :

ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.14, not stripped

but ,when i tried to compile gtk2edit code by ./configure --target=arm-linux in sb2(scratchbox2) it gives me error like this :

checking build system type... arm-unknown-linux-gnu checking host system type... arm-unknown-linux-gnu checking target system type... arm-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets ${MAKE}... yes checking whether NLS is requested... yes checking for msgfmt... no checking for gmsgfmt... : checking for xgettext... no checking for msgmerge... no checking for style of include used by make... GNU checking for gcc... arm-linux-gcc checking for C compiler default output... configure: error: C compiler cannot create executables check `config.log' for details.

i dont know where is the error ? plz help me...... is there any other 'easy' way to cross-compile.....?

thanks in advance........