Jean-Claude Gervais wrote: > On Wed, 2007-10-31 at 20:43 +0100, Pal Szasz wrote: >> Just a little addition: there is another flag which might be involved: >> >> -mfloat-abi=softfp >> > > How do I pass those flags to the compiler by using crossedev? > > Here's the shell script I am currently using. > I changed it to go with Jason's recommended toolset versions but I am > still getting the same linking errors about floating-point > incompatibilities... > > .-.-.-.-.-.-.- > > #!/bin/bash > > CBUILD="i686-pc-linux-gnu" > > CHOST=$CBUILD > > CTARGET="arm-softfloat-linux-uclibc" > > #export ROOT="/usr/arm-softfloat-linux-uclibc" > > PORTAGE_CONFIGROOT="/usr/arm-softfloat-linux-uclibc" > > UCLIBC_CPU="ARM920T" USE="-*" crossdev -v --binutils 2.17 --gcc 3.4.6-r2 > --kernel 2.6.19-r2 --libc 0.9.28.3 --ex-gdb --target > arm-softfloat-linux-uclibc
before you tried this command, did you delete the old attempt? eg crossdev -C arm-softfloat-linux-uclibc Chances are you have stale uclibc files installed from a previous attempt that are conflicting with the current attempt. Also, make sure you unset PORTAGE_CONFIGROOT, CTARGET, CHOST, and CBUILD. Those may foul up crossdev (You're not cross-compiling a cross-compiling toolchain are you?). Those variable assignments are for _after_ the toolchain is built when you want to use it. hth, Jason. -- [EMAIL PROTECTED] mailing list
