freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft] Building FT2 for embedded architectures


From: suzuki toshiya
Subject: Re: [ft] Building FT2 for embedded architectures
Date: Sat, 20 Apr 2013 01:36:47 +0900
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.11) Gecko/20121122 Icedove/10.0.11

Ahh, according to the log file,

> configure:2917: arm-none-eabi-gcc    conftest.c>&5
> /opt/ARM/arm-linaro-eabi-4.6/lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/lib/libc.a(lib_a-exit.o):
> In function `exit':
> /home/ww/arm-toolchain/summon-arm-toolchain/build/arm-none-eabi/newlib/libc/stdlib/../../../../../gcc-linaro-4.6-2011.10/newlib/libc/stdlib/exit.c:65:
> undefined reference to `_exit'
> collect2: ld returned 1 exit status

your arm-non-eabi-gcc seems to have a difficulty to
make a binary executable. If you want to make a hello-world
binary executable for the target system, how do you compile
it?

Regards,
mpsuzuki



On 2013年04月20日 00:46, Wolfgang Draxinger wrote:
> On 04/19/13 17:13, suzuki toshiya wrote:
>> Hi,
>>
>> Could you post config.log generated by passing the --host option
>> to ./configure?
> 
> Here you go:
> 
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
> 
> It was created by FreeType configure 2.4.11, which was
> generated by GNU Autoconf 2.69.  Invocation command line was
> 
>    $ ./configure --host=arm-none-eabi --without-zlib --without-bzip2
> --without-fsspec --without-fsref --without-ats --disable-shared
> --enable-static
> 
> ## --------- ##
> ## Platform. ##
> ## --------- ##
> 
> hostname = hilbert
> uname -m = x86_64
> uname -r = 3.2.0-3-rt-amd64
> uname -s = Linux
> uname -v = #1 SMP PREEMPT RT Mon Jul 23 03:37:45 UTC 2012
> 
> /usr/bin/uname -p = unknown
> /bin/uname -X     = unknown
> 
> /bin/arch              = unknown
> /usr/bin/arch -k       = unknown
> /usr/convex/getsysinfo = unknown
> /usr/bin/hostinfo      = unknown
> /bin/machine           = unknown
> /usr/bin/oslevel       = unknown
> /bin/universe          = unknown
> 
> PATH: /home/dw/.local/bin
> PATH: /usr/local/bin
> PATH: /usr/bin
> PATH: /bin
> PATH: /usr/local/games
> PATH: /usr/games
> PATH: /opt/bin
> PATH: /usr/local/cuda/bin
> PATH: /opt/ARM/arm-eabi/bin
> 
> 
> ## ----------- ##
> ## Core tests. ##
> ## ----------- ##
> 
> configure:2480: checking build system type
> configure:2494: result: x86_64-unknown-linux-gnu
> configure:2514: checking host system type
> configure:2527: result: arm-none-eabi
> configure:2559: checking for arm-none-eabi-gcc
> configure:2575: found /opt/ARM/arm-eabi/bin/arm-none-eabi-gcc
> configure:2586: result: arm-none-eabi-gcc
> configure:2855: checking for C compiler version
> configure:2864: arm-none-eabi-gcc --version>&5
> arm-none-eabi-gcc (Linaro GCC 4.6-2011.10) 4.6.2 20111004 (prerelease)
> Copyright (C) 2011 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> configure:2875: $? = 0
> configure:2864: arm-none-eabi-gcc -v>&5
> Using built-in specs.
> COLLECT_GCC=arm-none-eabi-gcc
> COLLECT_LTO_WRAPPER=/opt/ARM/arm-linaro-eabi-4.6/libexec/gcc/arm-none-eabi/4.6.2/lto-wrapper
> Target: arm-none-eabi
> Configured with: ../gcc-linaro-4.6-2011.10/configure
> --target=arm-none-eabi --prefix=/opt/ARM/arm-linaro-eabi-4.6/
> --enable-multilib --enable-languages=c,c++ --with-newlib --with-gnu-as
> --with-gnu-ld --disable-nls --disable-shared --disable-threads
> --with-headers=newlib/libc/include --disable-libssp
> --disable-libstdcxx-pch --disable-libmudflap --disable-libgomp
> --disable-werror --with-system-zlib --disable-newlib-supplied-syscalls
> Thread model: single
> gcc version 4.6.2 20111004 (prerelease) (Linaro GCC 4.6-2011.10)
> configure:2875: $? = 0
> configure:2864: arm-none-eabi-gcc -V>&5
> arm-none-eabi-gcc: error: unrecognized option '-V'
> arm-none-eabi-gcc: fatal error: no input files
> compilation terminated.
> configure:2875: $? = 1
> configure:2864: arm-none-eabi-gcc -qversion>&5
> arm-none-eabi-gcc: error: unrecognized option '-qversion'
> arm-none-eabi-gcc: fatal error: no input files
> compilation terminated.
> configure:2875: $? = 1
> configure:2895: checking whether the C compiler works
> configure:2917: arm-none-eabi-gcc    conftest.c>&5
> /opt/ARM/arm-linaro-eabi-4.6/lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/lib/libc.a(lib_a-exit.o):
> In function `exit':
> /home/ww/arm-toolchain/summon-arm-toolchain/build/arm-none-eabi/newlib/libc/stdlib/../../../../../gcc-linaro-4.6-2011.10/newlib/libc/stdlib/exit.c:65:
> undefined reference to `_exit'
> collect2: ld returned 1 exit status
> configure:2921: $? = 1
> configure:2959: result: no
> configure: failed program was:
> | /* confdefs.h */
> | #define PACKAGE_NAME "FreeType"
> | #define PACKAGE_TARNAME "freetype"
> | #define PACKAGE_VERSION "2.4.11"
> | #define PACKAGE_STRING "FreeType 2.4.11"
> | #define PACKAGE_BUGREPORT "address@hidden"
> | #define PACKAGE_URL ""
> | /* end confdefs.h.  */
> |
> | int
> | main ()
> | {
> |
> |   ;
> |   return 0;
> | }
> configure:2964: error: in `/home/dw/downloads/freetype-2.4.11/builds/unix':
> configure:2966: error: C compiler cannot create executables
> See `config.log' for more details
> 
> ## ---------------- ##
> ## Cache variables. ##
> ## ---------------- ##
> 
> ac_cv_build=x86_64-unknown-linux-gnu
> ac_cv_env_CC_set=
> ac_cv_env_CC_value=
> ac_cv_env_CFLAGS_set=
> ac_cv_env_CFLAGS_value=
> ac_cv_env_CPPFLAGS_set=
> ac_cv_env_CPPFLAGS_value=
> ac_cv_env_CPP_set=
> ac_cv_env_CPP_value=
> ac_cv_env_LDFLAGS_set=
> ac_cv_env_LDFLAGS_value=
> ac_cv_env_LIBS_set=
> ac_cv_env_LIBS_value=
> ac_cv_env_build_alias_set=
> ac_cv_env_build_alias_value=
> ac_cv_env_host_alias_set=set
> ac_cv_env_host_alias_value=arm-none-eabi
> ac_cv_env_target_alias_set=
> ac_cv_env_target_alias_value=
> ac_cv_host=arm-none-eabi
> ac_cv_prog_CC=arm-none-eabi-gcc
> 
> ## ----------------- ##
> ## Output variables. ##
> ## ----------------- ##
> 
> AR=''
> AS=''
> AWK=''
> CC='arm-none-eabi-gcc'
> CC_BUILD=''
> CFLAGS=''
> CPP=''
> CPPFLAGS=''
> DEFS=''
> DLLTOOL=''
> DSYMUTIL=''
> DUMPBIN=''
> ECHO_C=''
> ECHO_N='-n'
> ECHO_T=''
> EGREP=''
> EXEEXT=''
> EXEEXT_BUILD=''
> FGREP=''
> FT2_EXTRA_LIBS=''
> FTSYS_SRC=''
> GREP=''
> INSTALL_DATA=''
> INSTALL_PROGRAM=''
> INSTALL_SCRIPT=''
> LD=''
> LDFLAGS=''
> LIBBZ2=''
> LIBOBJS=''
> LIBS=''
> LIBTOOL=''
> LIBZ=''
> LIPO=''
> LN_S=''
> LTLIBOBJS=''
> MANIFEST_TOOL=''
> NM=''
> NMEDIT=''
> OBJDUMP=''
> OBJEXT=''
> OTOOL64=''
> OTOOL=''
> PACKAGE_BUGREPORT='address@hidden'
> PACKAGE_NAME='FreeType'
> PACKAGE_STRING='FreeType 2.4.11'
> PACKAGE_TARNAME='freetype'
> PACKAGE_URL=''
> PACKAGE_VERSION='2.4.11'
> PATH_SEPARATOR=':'
> RANLIB=''
> RMDIR=''
> SED=''
> SHELL='/bin/bash'
> STRIP=''
> SYSTEM_ZLIB=''
> XX_ANSIFLAGS=''
> XX_CFLAGS=''
> ac_ct_AR=''
> ac_ct_CC=''
> ac_ct_DUMPBIN=''
> bindir='${exec_prefix}/bin'
> build='x86_64-unknown-linux-gnu'
> build_alias=''
> build_cpu='x86_64'
> build_libtool_libs=''
> build_os='linux-gnu'
> build_vendor='unknown'
> datadir='${datarootdir}'
> datarootdir='${prefix}/share'
> docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
> dvidir='${docdir}'
> exec_prefix='NONE'
> ft_version='16.0.10'
> ftmac_c=''
> hardcode_libdir_flag_spec=''
> host='arm-none-eabi'
> host_alias='arm-none-eabi'
> host_cpu='arm'
> host_os='eabi'
> host_vendor='none'
> htmldir='${docdir}'
> includedir='${prefix}/include'
> infodir='${datarootdir}/info'
> libdir='${exec_prefix}/lib'
> libexecdir='${exec_prefix}/libexec'
> localedir='${datarootdir}/locale'
> localstatedir='${prefix}/var'
> mandir='${datarootdir}/man'
> oldincludedir='/usr/include'
> pdfdir='${docdir}'
> prefix='NONE'
> program_transform_name='s,x,x,'
> psdir='${docdir}'
> sbindir='${exec_prefix}/sbin'
> sharedstatedir='${prefix}/com'
> sysconfdir='${prefix}/etc'
> target_alias=''
> version_info='16:0:10'
> wl=''
> 
> ## ----------- ##
> ## confdefs.h. ##
> ## ----------- ##
> 
> /* confdefs.h */
> #define PACKAGE_NAME "FreeType"
> #define PACKAGE_TARNAME "freetype"
> #define PACKAGE_VERSION "2.4.11"
> #define PACKAGE_STRING "FreeType 2.4.11"
> #define PACKAGE_BUGREPORT "address@hidden"
> #define PACKAGE_URL ""
> 
> configure: exit 77
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]