Browse Source

List possible CPU in alphabetical order

git-svn-id: trunk@36829 -
pierre 8 years ago
parent
commit
9fb2652433
1 changed files with 30 additions and 7 deletions
  1. 30 7
      compiler/pp.pas

+ 30 - 7
compiler/pp.pas

@@ -24,27 +24,49 @@ program pp;
 {
 {
   possible compiler switches:
   possible compiler switches:
   -----------------------------------------------------------------
   -----------------------------------------------------------------
-  CMEM                use cmem unit for better memory debugging
+  Supported CPUs, alphabetically sorted
+  -----------------------------------------------------------------
+  AARCH64             generate a compiler for the AARCH64 (64bit ARM)
+  ARM                 generate a compiler for the ARM
+  AVR                 generate a compiler for the AVR
   I8086               generate a compiler for the Intel 8086+
   I8086               generate a compiler for the Intel 8086+
   I386                generate a compiler for the Intel i386+
   I386                generate a compiler for the Intel i386+
-  x86_64              generate a compiler for the AMD x86-64 architecture
+  JVM                 generate a compiler for the JVM (Java Virtual Machine)
   M68K                generate a compiler for the M68000
   M68K                generate a compiler for the M68000
-  SPARC               generate a compiler for SPARC
-  SPARC64             generate a compiler for SPARC64
+  MIPS                generate a compiler for the MIPS (Big Endian)
+  MIPSEL              generate a compiler for the MIPSEL (Littel Endian)
   POWERPC             generate a compiler for the PowerPC
   POWERPC             generate a compiler for the PowerPC
   POWERPC64           generate a compiler for the PowerPC64 architecture
   POWERPC64           generate a compiler for the PowerPC64 architecture
+  SPARC               generate a compiler for SPARC
+  SPARC64             generate a compiler for SPARC64
+  X86_64              generate a compiler for the AMD x86-64 architecture
+
+  -----------------------------------------------------------------
+  Other compiler switches
+  -----------------------------------------------------------------
+  CMEM                use cmem unit for better memory debugging
   DEBUG               version with debug code is generated
   DEBUG               version with debug code is generated
   EXTDEBUG            some extra debug code is executed
   EXTDEBUG            some extra debug code is executed
-  SUPPORT_MMX         only i386: releases the compiler switch
-                      MMX which allows the compiler to generate
-                      MMX instructions
   EXTERN_MSG          Don't compile the msgfiles in the compiler, always
   EXTERN_MSG          Don't compile the msgfiles in the compiler, always
                       use external messagefiles, default for TP
                       use external messagefiles, default for TP
+
+  -----------------------------------------------------------------
+  ARM specfic switches
+  -----------------------------------------------------------------
   FPC_ARMEL           create an arm eabi compiler
   FPC_ARMEL           create an arm eabi compiler
   FPC_ARMEB           create an arm big endian compiler
   FPC_ARMEB           create an arm big endian compiler
   FPC_OARM            create an arm oabi compiler, only needed when the host
   FPC_OARM            create an arm oabi compiler, only needed when the host
                       compiler is ARMEL or ARMEB
                       compiler is ARMEL or ARMEB
   FPC_ARMHF           create an armhf (eabi vfp variant) compiler
   FPC_ARMHF           create an armhf (eabi vfp variant) compiler
+
+  -----------------------------------------------------------------
+  I386 specfic switches
+  -----------------------------------------------------------------
+  SUPPORT_MMX         only i386: releases the compiler switch
+                      MMX which allows the compiler to generate
+                      MMX instructions
+  -----------------------------------------------------------------
+  Switches automatically inside fpcdefs.inc  
   -----------------------------------------------------------------
   -----------------------------------------------------------------
   cpuflags            The target processor has status flags (on by default)
   cpuflags            The target processor has status flags (on by default)
   cpufpemu            The target compiler will also support emitting software
   cpufpemu            The target compiler will also support emitting software
@@ -141,6 +163,7 @@ program pp;
   {$endif CPUDEFINED}
   {$endif CPUDEFINED}
   {$define CPUDEFINED}
   {$define CPUDEFINED}
 {$endif AARCH64}
 {$endif AARCH64}
+
 {$ifndef CPUDEFINED}
 {$ifndef CPUDEFINED}
   {$fatal A CPU type switch must be defined}
   {$fatal A CPU type switch must be defined}
 {$endif CPUDEFINED}
 {$endif CPUDEFINED}