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]

arm/iwmmxt VFP errors during linking


Hi,

I seem to have successfully built a toolchain(cross-compiler for windows) for iwmmxt-linux target (using gcc 3.4.2 and 2.3.3), however when linking my code with another library (a library built using a gcc cross compiler for the same target with VFP) I am getting VFP errors as shown below

"arm-iwmmxt-linux-gnu-g++ -o /cygdrive/c/tmp/nnuziale/build/blahblah /cygdrive/c/tmp
/nnuziale/build/hostBase.o /cygdrive/c/tmp/nnuziale/build/hostInit.o / -L/cygdrive/c/cygwin/usr/crosstool/arm-iwmmxt-linux-gnu/gcc-3.4.2-glibc-2.3.3/arm-iwmmxt-linux-gnu/lib -L/cygdrive/c/cygwin/opt/nn/lib -lappbase-xscale-r -lrt
usr/crosstool/arm-iwmmxt-linux-gnu/gcc-3.4.2-glibc-2.3.3/lib/gcc/arm-iwmmxt-linux-gnu/3.4.2/../../../../arm-iwmmxt-linux-gnu/bin/ld: ERROR: /cygdrive/c/cygwin/opt/nn/lib/libappbase-xscale-r.so uses VFP instructions, whereas /cygdrive/c/tmp/nnuziale/build/blahblah does not
..."


My cross-compiler was built with arm-iwmmxt.dat containing:
KERNELCONFIG=`pwd`/arm.config
TARGET=arm-iwmmxt-linux-gnu
TARGET_CFLAGS="-O"
GCC_EXTRA_CONFIG="--enable-cross --enable-shared --enable-languages=c,c++ --enable-__cxa_atexit --enable-threads=posix --disable-multilib --with-float=soft --with-cpu=iwmmxt --with-tune=iwmmxt --with-fpu=vfp"
GLIBC_EXTRA_CONFIG="--without-fp"



Is there some patch I need to make VFP work?? Any help is much appreciated...

-Nick

_________________________________________________________________
Scan and help eliminate destructive viruses from your inbound and outbound e-mail and attachments. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*.



------ 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]