Andes Workshop http://forum.andestech.com/ |
|
Andes Predefined Macros http://forum.andestech.com/viewtopic.php?f=16&t=814 |
Page 1 of 1 |
Author: | cindy [ Wed Apr 02, 2014 7:19 pm ] |
Post subject: | Andes Predefined Macros |
Please refer to programming guide 9.4. 9.4. Andes Predefined Macros To see the default values of Andes macros for a particular toolchain or to check if a feature is enabled as default, issue the following command: echo "" | nds32*-elf-cpp -E -dM | grep NDS32 hylai@ubuntu:~/Andestech/BSPv320/toolchains/nds32le-elf-mculib-v3m/bin$ echo " " |./nds32le-elf-cpp -E -dM | grep NDS32 #define NDS32_ABI_2 1 #define __NDS32__ 1 #define __NDS32_BASELINE_V3M 1 #define NDS32_FIRST_PSEUDO_REGISTER 136 #define NDS32_EL 1 #define __NDS32_EL 1 #define __NDS32_REDUCE_REGS 1 #define __NDS32_ABI_2__ 1 #define __NDS32_REDUCE_REGS__ 1 #define __NDS32_ABI_2 1 #define __NDS32_BASELINE_V3M__ 1 #define NDS32_BASELINE_V3M 1 #define __NDS32_EL__ 1 #define NDS32_REDUCE_REGS 1 hylai@ubuntu:~/Andestech/BSPv320/toolchains/nds32le-elf-mculib-v3m/bin$ For example, NDS32_DX_REGS Defined if using baseline V2 toolchain with -mdx-regs specified or enabled as default |
Page 1 of 1 | All times are UTC + 8 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |