Re: [Madwifi-devel] need an xscale-be-elf hal built with -msoft-float
Status: Beta
Brought to you by:
otaku
From: Weiguang S. <wg...@ya...> - 2006-10-06 21:01:21
|
Thanks Pavel! I'll try the wackelf out. To answer your questions, when I tried to build the ath_hal for my target platform IXDP425, I got the following messages unset GCC_EXEC_PREFIX; gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o uudecode uudecode.c ./uudecode -o xscale-be-elf.hal.o ../hal/public/xscale-be-elf.hal.o.uu arm-linux-ld -EB -o ath_hal.o -r ah_os.o xscale-be-elf.hal.o arm-linux-ld: ERROR: xscale-be-elf.hal.o uses VFP instructions, whereas ath_hal.o does not arm-linux-ld: failed to merge target specific data of file xscale-be-elf.hal.o I think this is related to the -msoft-float option that is used to build the first two .o files but was not for the xscale-be-elf.hal.o (see xscale-be-elf.inc). In addition, I'm using a relatively new arm-linux (gcc-3.4.4) but the xscale-be-elf hal was built using the arm-elf (gcc-3.3.2) and, in desparation, I was suspecting this mixed-use of toolchains could be the source. (There _are_ huge differences between arm-linux which relies on host systems and arm-elf which is a stand-alone toolchain.) Thanks again. Wei --- Pavel Roskin <pr...@gn...> wrote: > Hello! > > On Fri, 2006-10-06 at 11:18 -0700, Weiguang Shi wrote: > > Hi, > > > > I need a hal that is built with the arm-linux- instead of the > arm-elf- > > toolchain and with the option -msoft-float on. > > Why do you think so? Why do you think it would make the difference? > I > believe the "vendor" field has no influence on the toolchain if the > "os" > is "linux". > > As for the "soft-float" issue, there is a utility called wackelf in > the > subversion repository, which allows to change the floating point > flags > in the HAL file. I don't think HAL itself uses any floating point > operations, so it should be safe. > > > The exact toolchain that I'm using is from snapgear > > > http://ftp.snapgear.org/pub/snapgear/tools/arm-linux/arm-linux-tools-20051123.tar.gz > > > > Basically, it has gcc-3.4.4 and binutils-2.4.16. > > > > Could someone please help? > > Eric Raymond can help: > http://www.catb.org/~esr/faqs/smart-questions.html#prune > http://www.catb.org/~esr/faqs/smart-questions.html#symptoms > http://www.catb.org/~esr/faqs/smart-questions.html#goal > > -- > Regards, > Pavel Roskin > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |