[uClibc] Problems with HAS_FPU=n
baitisj at evolution.com
Thu Oct 9 22:46:47 UTC 2003
Hrm... thanks for the tip... I didn't see FLAGS_FOR_TARGET in the
Makefile. I did see CFLAGS_FOR_TARGET in the gcc-final/Makefile, added
-msoft-float to it, and nothing changed. :(
I also noticed that this failure is is in the configuration of
gcc-3.3-final/mipsel-linux/libiberty, and I don't seem to have a
config.log file to look at in this diretory, for whatever reason, so I'm
having a difficult time figuring out exactly what has failed.
Does gcc even need to be compiled with -msoft-float here? (my working
soft-float-enabled compiler was not.)
I would think the only things that actually need -msoft-float would come
*after* the final stage compiler is built.
Thanks for your help!
On Thu, 2003-10-09 at 13:37, Andrew May wrote:/gcc-3.3-fina
> On Wed, Oct 08, 2003 at 06:23:04PM -0700, Jeffrey Baitis wrote:
> > 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.
> But as you can see the compiler is not trying to do -msoft-float.
> You can try to fix this by changing the gcc-final/Makefile.
> Add the -msoft-float to the end of the FLAGS_FOR_TARGET line.
> You should be able to just restart the make and let things finish.
> I don't know how to fixup the specs file to always get the compiler
> to do soft floats.
Jeffrey Baitis <baitisj at evolution.com>
More information about the uClibc