TargetConditionals 文件学习

发布于:2024-07-05 ⋅ 阅读:(14) ⋅ 点赞:(0)

#define TARGET_OS_BRIDGE            0

#define TARGET_OS_TV                0

#define TARGET_OS_SIMULATOR         1

#define TARGET_OS_EMBEDDED          0

#define TARGET_IPHONE_SIMULATOR     TARGET_OS_SIMULATOR /* deprecated */

#define TARGET_OS_NANO              TARGET_OS_WATCH /* deprecated */

#if defined(__ppc__)

#define TARGET_CPU_PPC          1

#define TARGET_CPU_PPC64        0

#define TARGET_CPU_68K          0

#define TARGET_CPU_X86          0

#define TARGET_CPU_X86_64       0

#define TARGET_CPU_ARM          0

#define TARGET_CPU_ARM64        0

#define TARGET_CPU_MIPS         0

#define TARGET_CPU_SPARC        0

#define TARGET_CPU_ALPHA        0

#define TARGET_RT_LITTLE_ENDIAN 0

#define TARGET_RT_BIG_ENDIAN    1

#define TARGET_RT_64_BIT        0

#ifdef __MACOS_CLASSIC__

#define TARGET_RT_MAC_CFM    1

#define TARGET_RT_MAC_MACHO  0

#else

#define TARGET_RT_MAC_CFM    0

#define TARGET_RT_MAC_MACHO  1

#endif

#elif defined(__ppc64__)

#define TARGET_CPU_PPC          0

#define TARGET_CPU_PPC64        1

#define TARGET_CPU_68K          0

#define TARGET_CPU_X86          0

#define TARGET_CPU_X86_64       0

#define TARGET_CPU_ARM          0

#define TARGET_CPU_ARM64        0

#define TARGET_CPU_MIPS         0

#define TARGET_CPU_SPARC        0

#define TARGET_CPU_ALPHA        0

#define TARGET_RT_LITTLE_ENDIAN 0

#define TARGET_RT_BIG_ENDIAN    1

#define TARGET_RT_64_BIT        1

#define TARGET_RT_MAC_CFM       0

#define TARGET_RT_MAC_MACHO     1

#elif defined(__i386__)

#define TARGET_CPU_PPC          0

#define TARGET_CPU_PPC64        0

#define TARGET_CPU_68K          0

#define TARGET_CPU_X86          1

#define TARGET_CPU_X86_64       0

#define TARGET_CPU_ARM          0

#define TARGET_CPU_ARM64        0

#define TARGET_CPU_MIPS         0

#define TARGET_CPU_SPARC        0

#define TARGET_CPU_ALPHA        0

#define TARGET_RT_MAC_CFM       0

#define TARGET_RT_MAC_MACHO     1

#define TARGET_RT_LITTLE_ENDIAN 1

#define TARGET_RT_BIG_ENDIAN    0

#define TARGET_RT_64_BIT        0

#elif defined(__x86_64__)

#define TARGET_CPU_PPC          0

#define TARGET_CPU_PPC64        0

#define TARGET_CPU_68K          0

#define TARGET_CPU_X86          0

#define TARGET_CPU_X86_64       1

#define TARGET_CPU_ARM          0

#define TARGET_CPU_ARM64        0

#define TARGET_CPU_MIPS         0

#define TARGET_CPU_SPARC        0

#define TARGET_CPU_ALPHA        0

#define TARGET_RT_MAC_CFM       0

#define TARGET_RT_MAC_MACHO     1

#define TARGET_RT_LITTLE_ENDIAN 1

#define TARGET_RT_BIG_ENDIAN    0

#define TARGET_RT_64_BIT        1

#elif defined(__arm__)

#define TARGET_CPU_PPC          0

#define TARGET_CPU_PPC64        0

#define TARGET_CPU_68K          0

#define TARGET_CPU_X86          0

#define TARGET_CPU_X86_64       0

#define TARGET_CPU_ARM          1

#define TARGET_CPU_ARM64        0

紧跟潮流

大前端和全栈是以后前端的一个趋势,懂后端的前端,懂各端的前端更加具有竞争力,以后可以往这个方向靠拢。

这边整理了一个对标“阿里 50W”年薪企业高级前端工程师成长路线,由于图片太大仅展示一小部分