Messages in this thread |  | | | From | Jim Freeman <> | | Subject | Re: #define __linux__ | | Date | Sat, 22 Aug 1998 20:22:51 -0600 (MDT) |
| |
> 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.
man cpp
cpp predefines:
$ > foo.h $ /lib/cpp -dM foo.h #define linux 1 #define i386 1 #define __ELF__ 1 #define unix 1
gcc+cpp predefine: $ cc -E -dM foo.h #define __linux__ 1 #define linux 1 #define __i386__ 1 #define __i386 1 #define __GNUC_MINOR__ 7 #define __i486__ 1 #define i386 1 #define __unix 1 #define __unix__ 1 #define __GNUC__ 2 #define __linux 1 #define __ELF__ 1 #define unix 1
- 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
|  |