Upon further investigation the culprit seems to be the -msoft-float flags. Whenever I compile code with that flag enabled and link it against libgcc.a I get errors. How can I compile gcc (including libgcc) so I can link against programs that are compiled with -msoft-float flag? Or perhaps there is a more appropriate list to be asking this too? Thanks, Matthew On Tue, 2003-10-28 at 14:48, Matthew S. McClintock wrote: > I am trying to build gcc for ARM. I am building GCC with the following > command: > > CROSS_COMPILE=arm-linux- ../../src/gcc-3.3.2/configure > --prefix=/home/blasig/omap/tools/ --target=arm-linux --with-cpu=arm9tdmi > --without-fp -nfp --disable-fp --enable-languages=c --with-newlib > --without-headers --disable-shared --disable-threads; make all-gcc > > However I am running into a problem that when I try to build a program I > get the following error: > > arm-linux-ld: ERROR: > /home/blasig/omap/tools/bin/../lib/gcc-lib/arm-linux/3.3.2/libgcc.a(_udivsi3.o) uses hardware FP, whereas u-boot uses software FP > File in wrong format: failed to merge target specific data of file > /home/blasig/omap/tools/bin/../lib/gcc-lib/arm-linux/3.3.2/libgcc.a(_udivsi3.o) > > Is this error a result of me not including an option for GCC so it > compiles a software floating point libgcc.a? If so, how does one > accomplish this? Or is it an error related to something else? > > Thanks for your time -- Matthew S. McClintock <mattsm@xxxxxxxxxxxxxxxx>