This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hello, I have built up an ARM BE toolchain using crosstool attempting to use soft float. I combined all the .dat into one file for simplicity and the build is successful. Below is the contents of my sh/dat file. Kernel: 2.4.24 ARM Crosstool: crosstool-0.28-rc25 #cat float.c #include <stdlib.h> int main(int argc, char *argv[]) { double d_foo; d_foo = 1233433.3233993; printf("d_foo = %lf\n",d_foo+.1); printf("%f\n", (1.0+3.22+33+443.3345)); } #/opt/crosstool2/bin/arm-linux-gcc -o float float.c #/opt/crosstool2/bin/arm-linux-objdump -p float [...] Version References: required from libc.so.6: 0x0d696910 0x00 02 GLIBC_2.0 private flags = 2: [APCS-32] [FPA float format] [has entry point] Shouldn't the above be reporting Software FP? Thanks! -Dave #!/bin/sh set -ex TARBALLS_DIR=$HOME/downloads RESULT_TOP=/usr/local export TARBALLS_DIR RESULT_TOP GCC_LANGUAGES="c,c++" export GCC_LANGUAGES export KERNELCONFIG=`pwd`/xs.config export TARGET=arm-linux export TARGET_CFLAGS="-O" export GCC_EXTRA_CONFIG="--nfp --without-fp --with-cpu=xscale --with-softfloat-supp ort=internal --with-inhibit-libc" export GLIBC_EXTRA_CONFIG="--nfp --with-cpu=xscale --without-fp" export BINUTILS_DIR=binutils-2.15 export GCC_DIR=gcc-3.3.3 export GLIBC_DIR=glibc-2.2.5 export LINUX_DIR=linux-2.4.24 export GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.2.5 sh all.sh --notest --nounpack ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |