cURL / Mailing Lists / curl-library / Single Mail

curl-library

cross compilation of cURL for Processor: Samsung S3C44B0 ARM

From: wpc <wasepc_at_yahoo.com>
Date: Thu, 5 Jun 2008 10:03:08 -0700 (PDT)

am trying to cross compile cURL for Samsung S3C44B0 processor.

my configure script is

#!/bin/sh
export LIBS="/home/locat/lib3000s/lib/liblmt3000s_col_12.a -Wl,-elf2flt -static"
export AR=/usr/local/bin/arm-elf-ar
export AS=/usr/local/bin/arm-elf-as
export LD=/usr/local/bin/arm-elf-ld
export RANLIB=/usr/local/bin/arm-elf-ranlib
export CC=/usr/local/bin/arm-elf-gcc
export NM=/usr/local/bin/arm-elf-nm

./configure --disable-shared --without-libssh2 --without-gnutls --without-nss --without-ca-bundle --without-ca-path --disable-ftp --disable-file --disable-ldap --disable-ldaps --disable-dict --disable-telnet --disable-tftp --disable-ipv6 --disable-nonblocking --disable-thread --disable-ares --enable-verbose --disable-sspi --disable-debug --disable-crypto-auth --enable-cookies --disable-hidden-symbols --without-zlib --without-ssl --target=arm-elf --host=arm-elf --build=i386-pc-linux-gnu --prefix=/home/locat/curl-7.18.2/CURLARM

however configure fails with the following config.log

configure:3207: /usr/local/bin/arm-elf-gcc --version >&5
2.95.3
configure:3210: $? = 0
configure:3217: /usr/local/bin/arm-elf-gcc -v >&5
Reading specs from /usr/local/lib/gcc-lib/arm-elf/2.95.3/specs
gcc version 2.95.3 20010315 (release)(ColdFire patches - 20010318 from http://fiddes.net/coldfire/)(uClinux XIP and shared lib patches from http://www.snapgear.com/)
configure:3220: $? = 0
configure:3227: /usr/local/bin/arm-elf-gcc -V >&5
arm-elf-gcc: argument to `-V' is missing
configure:3230: $? = 1
configure:3253: checking for C compiler default output file name
configure:3280: /usr/local/bin/arm-elf-gcc conftest.c /home/locat/lib3000s/lib/liblmt3000s_col_12.a -Wl,-elf2flt -static >&5
configure:3283: $? = 0
configure:3321: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/"
| #define PACKAGE "curl"
| #define VERSION "7.18.2"
| #define OS "arm-unknown-elf"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
:configure:3328: error: C compiler cannot create executables

Suggestions welcome.

      
Received on 2008-06-05