lkml.org 
[lkml]   [2004]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [2.6.8.1/x86] The kernel is _always_ compiled with -msoft-float
    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 catches bogus attempts to use floating point in the kernel by
    making them error at link-time.

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

    \
     
     \ /
      Last update: 2005-03-22 14:06    [W:0.027 / U:62.228 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site