building vfp11 support in arm toolchain using crosstools?

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

 



Hello.


I am using a ARM1176JZF-S system. 

I plan on using it's vectored floating point unit VFP11(VFPv2).



I want to create a toolchain with VFP11 support enabled using crosstools. This toolchain will run under linux and allow me to build arm elf images.

So far I have been unsuccessful in choosing a proper gcc/glibc/binutils version set for my toolchain, to get it compiled.

Has anybody an already built toolchain for my needs?


I always used used the following arguments for gcc/glibc in the arm_.dat file:
GCC_EXTRA_CONFIG="-mfpu=vfp -mfloat_abi=softfp"  //originally: "--with-float=soft"
GLIBC_EXTRA_CC_ARGS=""                           //originally:"--without-fp"



I keep getting a build time error when I try to create my toolchain: target/system 'vfp' not recognized error. 


As I see it, vfp is available as a fpu option for arm only in gcc>=4, and by using -mfpu=vfp building the toolchain should have worked.

Is it true that gcc=>4.x has vfp support for arm1176jzf-s? Or am I wrong?



Thank you,
Gabi Voiculescu




PS: 

Example build error with the following configuration:
...
Configuring in bfd
configure: creating cache ./config.cache
checking build system type... i686-host_pc-linux-gnu
checking host system type... i686-host_pc-linux-gnu
checking target system type... Invalid configuration `arm-linux-vfp': system `vfp' not recognized
configure: error: /bin/sh /var/ftp/import/crosstool-0.43/build/arm-linux-vfp/gcc-4.1.1-glibc-2.3.5/binutils-2.16.1/bfd/../config.sub arm-linux-vfp failed
make: *** [configure-bfd] Error 1



My crosstoolconfig.txt file:
AR=
BINUTILS_DIR=binutils-2.16.1
BINUTILS_EXTRA_CONFIG=
BUILD=i686-pc-linux-gnu
BUILD_DIR=/var/ftp/import/crosstool-0.43/build/arm-linux-vfp/gcc-4.1.1-glibc-2.3.5
CC=
DEJAGNU=
EXTRA_TARGET_CFLAGS=
GCC_BUILD=
GCC_CORE_DIR=gcc-3.3.6
GCC_DIR=gcc-4.1.1
GCC_EXTRA_CONFIG=-mfpu=vfp -mfloat_abi=softfp
GCC_HOST=
GCC_LANGUAGES=c,c++
GDB_DIR=gdb-6.5
GLIBC_ADDON_OPTIONS==nptl
GLIBC_DIR=glibc-2.3.5
GLIBC_EXTRA_CC_ARGS=
GLIBC_EXTRA_CONFIG= --with-tls --with-__thread --enable-kernel=2.4.18
GLIBC_EXTRA_ENV=
JUST_DOWNLOAD=
KERNELCONFIG=/var/ftp/import/crosstool-0.43/arm.config
LINUX_DIR=linux-2.6.15.4
LINUX_SANITIZED_HEADER_DIR=linux-libc-headers-2.6.12.0
NO_DOWNLOAD=
PREFIX=/opt/crosstool/gcc-4.1.1-glibc-2.3.5/arm-linux-vfp
PTXDIST_DIR=
SHARED_MODE=--enable-shared
SRC_DIR=/var/ftp/import/crosstool-0.43/build/arm-linux-vfp/gcc-4.1.1-glibc-2.3.5
TARBALLS_DIR=/home/gabi/downloads
TARGET=arm-linux-vfp
TARGET_CFLAGS=-O
TOP_DIR=/var/ftp/import/crosstool-0.43
USE_SYSROOT=




      

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux