Re: [2.6.8.1/x86] The kernel is _always_ compiled with -msoft-float

From: Dave Jones
Date: Tue Sep 14 2004 - 15:58:40 EST


On Wed, Sep 15, 2004 at 02:14:18AM +0600, Denis Zaitsev wrote:
> Why this kernel is always compiled with the FP emulation for x86?
> This is the line from the beginning of arch/i386/Makefile:
>
> CFLAGS += -pipe -msoft-float
>
> And it's hardcoded, it does not depend on CONFIG_MATH_EMULATION. So,
> is this just a typo or not?

It deliberatly causes build failures if folks use fp math in their code.

Dave

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/