lkml.org 
[lkml]   [2001]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH] include/linux/coda.h
    Date

    alan@lxorguk.ukuu.org.uk said:
    > Why is your cross compiler outputting different symbols to a linux
    > native compiler ?

    > If __linux__ is not defined by the cross compiler, then the cross
    > compiler is broken. A cross compiler has the same environment as the
    > native compiler for the target. The only stuff that should break (well
    > should as in might) is tools native built

    > Or am I misunderstanding the report ?

    Why use a cross compiler? With the obvious exception of UML, the Linux
    kernel is not a Linux executable, so why should it need to be compiled with
    a compiler which targets such?

    The kernel compiles quite happily with compilers which aren't targetted
    specifically at Linux -- the CODA compatibility cruft being the one
    exception. I often just comment out the CODA includes from <linux/fs.h> to
    get round the same problem.

    --
    dwmw2


    -
    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 12:53    [W:0.021 / U:60.468 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site