lkml.org 
[lkml]   [2005]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectCross-compilation broken (was: Re: Linux 2.6.11-rc1)
    On Tue, 11 Jan 2005, Linus Torvalds wrote:
    > Sam Ravnborg:
    > o kbuild: Use -isystem `gcc --print-file-name=include`

    This change broke cross-compilation for me.

    It causes /usr/lib/gcc-lib/i486-linux/3.3.5/include/stdarg.h to be picked up
    instead of /usr/local/lib/gcc-lib/m68k-linux/2.95.2/include/stdarg.h.

    Changing

    | NOSTDINC_FLAGS := -nostdinc -isystem $(shell $(CC) -print-file-name=include)

    to

    | NOSTDINC_FLAGS = -nostdinc -isystem $(shell $(CC) -print-file-name=include)

    fixed it. I guess it picked up the definition for $(CC) before it became
    $(CROSS_COMPILE)gcc.

    Gr{oetje,eeting}s,

    Geert

    --
    Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

    In personal conversations with technical people, I call myself a hacker. But
    when I'm talking to journalists I just say "programmer" or something like that.
    -- Linus Torvalds
    -
    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:09    [W:2.787 / U:0.136 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site