config/target.in
changeset 47 7e2539937b6e
parent 45 42faddd0098a
child 108 69407950a2a2
     1.1 --- a/config/target.in	Sat Apr 21 17:31:51 2007 +0000
     1.2 +++ b/config/target.in	Mon Apr 23 20:30:34 2007 +0000
     1.3 @@ -4,6 +4,13 @@
     1.4  
     1.5  comment "General target options"
     1.6  
     1.7 +config ARCH
     1.8 +    string
     1.9 +    default "arm"     if ARCH_ARM
    1.10 +    default "mips"    if ARCH_MIPS
    1.11 +    default "x86"     if ARCH_x86
    1.12 +    default "x86_64"  if ARCH_x86_64
    1.13 +
    1.14  choice
    1.15      bool
    1.16      prompt "Target architecture:"
    1.17 @@ -59,6 +66,25 @@
    1.18  
    1.19  comment "Target optimisations"
    1.20  
    1.21 +config ARCH_ARCH
    1.22 +    string
    1.23 +    prompt "Achitecture level"
    1.24 +    default ""
    1.25 +    help
    1.26 +      GCC uses this name to determine what kind of instructions it can emit
    1.27 +      when generating assembly code. This option can be used in conjunction
    1.28 +      with or instead of the ARCH_CPU option (above), or a (command-line)
    1.29 +      -mcpu= option.
    1.30 +      
    1.31 +      This is the configuration flag --with-arch=XXXX, and the runtime flag
    1.32 +      -march=XXX.
    1.33 +      
    1.34 +      Pick a value from the gcc manual for your choosen gcc version and your
    1.35 +      target CPU.
    1.36 +      
    1.37 +      Leave blank if you don't know, or if your target architecture does not
    1.38 +      offer this option.
    1.39 +
    1.40  config ARCH_ABI
    1.41      string
    1.42      prompt "Generate code for the specific ABI"
    1.43 @@ -66,6 +92,9 @@
    1.44      help
    1.45        Generate code for the given ABI.
    1.46  
    1.47 +      This is the configuration flag --with-abi=XXXX, and the runtime flag
    1.48 +      -mabi=XXX.
    1.49 +
    1.50        Pick a value from the gcc manual for your choosen gcc version and your
    1.51        target CPU.
    1.52  
    1.53 @@ -81,6 +110,9 @@
    1.54        to determine what kind of instructions it can emit when generating
    1.55        assembly code.
    1.56        
    1.57 +      This is the configuration flag --with-cpu=XXXX, and the runtime flag
    1.58 +      -mcpu=XXX.
    1.59 +
    1.60        Pick a value from the gcc manual for your choosen gcc version and your
    1.61        target CPU.
    1.62        
    1.63 @@ -100,21 +132,8 @@
    1.64        will generate based on the cpu specified by the ARCH_CPU option
    1.65        (above), or a (command-line) -mcpu= option.
    1.66        
    1.67 -      Pick a value from the gcc manual for your choosen gcc version and your
    1.68 -      target CPU.
    1.69 -      
    1.70 -      Leave blank if you don't know, or if your target architecture does not
    1.71 -      offer this option.
    1.72 -
    1.73 -config ARCH_ARCH
    1.74 -    string
    1.75 -    prompt "Achitecture level"
    1.76 -    default ""
    1.77 -    help
    1.78 -      GCC uses this name to determine what kind of instructions it can emit
    1.79 -      when generating assembly code. This option can be used in conjunction
    1.80 -      with or instead of the ARCH_CPU option (above), or a (command-line)
    1.81 -      -mcpu= option.
    1.82 +      This is the configuration flag --with-tune=XXXX, and the runtime flag
    1.83 +      -mtune=XXX.
    1.84        
    1.85        Pick a value from the gcc manual for your choosen gcc version and your
    1.86        target CPU.
    1.87 @@ -124,11 +143,14 @@
    1.88  
    1.89  config ARCH_FPU
    1.90      string
    1.91 -    prompt "Use FPU"
    1.92 +    prompt "Use specific FPU"
    1.93      default ""
    1.94      help
    1.95        On some targets (eg. ARM), you can specify the kind of FPU to emit
    1.96        code for.
    1.97 +
    1.98 +      This is the configuration flag --with-fpu=XXX, and the runtime flag
    1.99 +      -mfpu=XXX.
   1.100        
   1.101        See below wether to actually emit FP opcodes, or to emulate them.
   1.102