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] |
> > The real solution would be building gcc with multilib support, so it > > builds three separate versions (i.e. FPA hardfloat, FPA softfloat and > > VFP softfloat) of libgcc and the other runtimes, but I've never > > understood how to do this with glibc... It doesn't seem to have > > multilib support. # /opt/crosstool/bin/arm-linux-objdump -p /opt/crosstool/arm-linux/lib/libc.so.6 [...] private flags = 602: [APCS-32] [VFP float format] [software FP] [has entry point] #/opt/crosstool/bin/arm-linux-objdump -p /opt/crosstool/lib/gcc-lib/arm-linux/3.3.3/libgcc.a [...] _eprintf.oS: file format elf32-bigarm private flags = 600: [APCS-32] [VFP float format] [software FP] _bb.oS: file format elf32-bigarm private flags = 600: [APCS-32] [VFP float format] [software FP] __gcc_bcmp.oS: file format elf32-bigarm private flags = 600: [APCS-32] [VFP float format] [software FP] # /opt/crosstool/bin/arm-linux-gcc -o float float.c # /opt/crosstool/bin/arm-linux-objdump -p float [...] private flags = 602: [APCS-32] [VFP float format] [software FP] [has entry point] # /opt/crosstool/bin/arm-linux-gcc -o float float.c -msoft-float /opt/crosstool/bin/arm-linux-gcc -o float float.c -msoft-float /opt/crosstool/lib/gcc-lib/arm-linux/3.3.3/../../../../arm-linux/bin/ld: ERROR: /tmp/ccYarrF0.o uses FPA instructions, whereas float does not /opt/crosstool/lib/gcc-lib/arm-linux/3.3.3/../../../../arm-linux/bin/ld: failed to merge target specific data of file /tmp/ccYarrF0.o collect2: ld returned 1 exit status Hmm.... # /opt/crosstool/bin/arm-linux-gcc -o float float.c -msoft-float -### Reading specs from /opt/crosstool/lib/gcc-lib/arm-linux/3.3.3/specs Configured with: /usr/src/crosstool-0.28-rc25/build/arm-linux/gcc-3.3.3-glibc-2.2.5/gcc-3.3.3 /configure --target=arm-linux --host=i686-host_pc-linux-gnu --prefix=/opt/cr osstool --nfp --without-fp --with-cpu=xscale --with-softfloat-support=intern al --with-inhibit-libc --with-headers=/opt/crosstool/arm-linux/include --wit h-local-prefix=/opt/crosstool/arm-linux --disable-nls --enable-threads=posix --enable-symvers=gnu --enable-__cxa_atexit --enable-languages=c,c++ --enabl e-shared --enable-c99 --enable-long-long Thread model: posix gcc version 3.3.3 "/opt/crosstool/lib/gcc-lib/arm-linux/3.3.3/cc1" "-quiet" "-D__GNUC__=3" "-D__GNUC_MINOR__=3" "-D__GNUC_PATCHLEVEL__=3" "-D__ARM_ARCH_5TE__" "-D__XSCALE__" "float.c" "-quiet" "-dumpbase" "float.c" "-msoft-float" "-auxbase" "float" "-o" "/tmp/cc4i2pGg.s" "/opt/crosstool/lib/gcc-lib/arm-linux/3.3.3/../../../../arm-linux/bin/as" "--traditional-format" "-mfpu=softfpa" "-mcpu=xscale" "-mfpu=softfpa" "-o" "/tmp/cc0SLYfn.o" "/tmp/cc4i2pGg.s" "/opt/crosstool/lib/gcc-lib/arm-linux/3.3.3/collect2" "-dynamic-linker" "/lib/ld-linux.so.2" "-X" "-m" "armelf_linux" "-p" "-o" "float" "/opt/crosstool/lib/gcc-lib/arm-linux/3.3.3/../../../../arm-linux/lib/crt1.o " "/opt/crosstool/lib/gcc-lib/arm-linux/3.3.3/../../../../arm-linux/lib/crti.o " "/opt/crosstool/lib/gcc-lib/arm-linux/3.3.3/crtbegin.o" "-L/opt/crosstool/lib/gcc-lib/arm-linux/3.3.3" "-L/opt/crosstool/lib/gcc-lib/arm-linux/3.3.3/../../../../arm-linux/lib" "/tmp/cc0SLYfn.o" "-lgcc" "-lgcc_eh" "-lc" "-lgcc" "-lgcc_eh" "/opt/crosstool/lib/gcc-lib/arm-linux/3.3.3/crtend.o" "/opt/crosstool/lib/gcc-lib/arm-linux/3.3.3/../../../../arm-linux/lib/crtn.o " ------ 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] |