This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
On Thursday 22 February 2001 00:53, Stephen Smith wrote: > How can I get gcc to dump the predefinitions. For instance, how can I see > that __GNUC__ is or is not defined and if it it what value it has. > Here is example (with output I'm getting under Linux): bash-2.04$ gcc -E -dM -x c /dev/null #define __linux__ 1 #define linux 1 #define __i386__ 1 #define __i386 1 #define __GNUC_MINOR__ 95 #define i386 1 #define __unix 1 #define __unix__ 1 #define __GNUC__ 2 #define __linux 1 #define __ELF__ 1 #define unix 1 bash-2.04$ gcc -E -dM -x c++ /dev/null #define __linux__ 1 #define __EXCEPTIONS 1 #define linux 1 #define __i386__ 1 #define __i386 1 #define __cplusplus 1 #define __GNUC_MINOR__ 95 #define i386 1 #define __unix 1 #define __unix__ 1 #define __GNUC__ 2 #define __GNUG__ 2 #define __linux 1 #define __ELF__ 1 #define unix 1 bash-2.04$ ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |