lkml.org 
[lkml]   [1998]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: #define __linux__
    Date
    > >Now where is __linux__ set?? I can not find a singe define for this and
    > >yet when I compile with the normal compiler its set.
    >
    > The compiler ought to define it automatically. If your cross compiler doesn't
    > then it's broken.

    That depends. If its a generic x86 cross compiler then its not broken. And
    the fix is to either add -D__linux__ to the CFLAGS or to tweak the spec file
    to define it.

    Alan


    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

    \
     
     \ /
      Last update: 2005-03-22 13:44    [W:0.070 / U:1.244 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site