[uClibc] Problems with HAS_FPU=n
Jeffrey Baitis
baitisj at evolution.com
Thu Oct 9 01:23:04 UTC 2003
Hi all. More soft-float fun:
I've been using the buildroot tool, and I've edited the
sources/uClibc.config file so that:
HAS_FPU=n
(this is the only change. I need floating point operations supported in
my C library.)
Unfortunately, buildroot stops when configuring the final C compiler:
checking for sys/systemcfg.h... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether errno must be declared... no
checking for ANSI C header files... no
checking for uintptr_t... no
checking for pid_t... yes
checking whether the C compiler (
/opt/build/buildroot/toolchain_build_mipsel/gcc-3.3-final/gcc/xgcc
-B/opt/build/buildroot/toolchain_build_mipsel/gcc-3.3-final/gcc/
-B/opt/build/buildroot/build_mipsel/staging_dir/mipsel-linux/bin/
-B/opt/build/buildroot/build_mipsel/staging_dir/mipsel-linux/lib/
-isystem
/opt/build/buildroot/build_mipsel/staging_dir/mipsel-linux/include -g
-Os ) works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.
make[1]: *** [configure-target-libiberty] Error 1
make[1]: Leaving directory
`/opt/build/buildroot/toolchain_build_mipsel/gcc-3.3-final'
make: ***
[/opt/build/buildroot/toolchain_build_mipsel/gcc-3.3-final/.compiled]
Error 2
Any ideas? When I change HAS_FPU=Y, buildroot's compiler *does* support
-msoft-float just fine.
Thanks
-JB
--
Jeffrey Baitis <baitisj at evolution.com>
More information about the uClibc
mailing list