Config.in 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. # Choose gcc version.
  2. comment "GCC Options"
  3. choice
  4. prompt "GCC compiler Version"
  5. default BR2_GCC_VERSION_4_3_4 if !BR2_avr32
  6. default BR2_GCC_VERSION_4_2_3 if BR2_avr32
  7. help
  8. Select the version of gcc you wish to use.
  9. config BR2_GCC_VERSION_4_1_2
  10. depends on !BR2_avr32
  11. depends on BR2_DEPRECATED
  12. bool "gcc 4.1.2"
  13. config BR2_GCC_VERSION_4_2_1
  14. depends on !BR2_avr32
  15. depends on BR2_DEPRECATED
  16. bool "gcc 4.2.1"
  17. config BR2_GCC_VERSION_4_2_2
  18. depends on !BR2_avr32
  19. depends on BR2_DEPRECATED
  20. bool "gcc 4.2.2"
  21. config BR2_GCC_VERSION_4_2_2_AVR32_2_1_5
  22. depends on BR2_avr32
  23. bool "gcc 4.2.2-avr32-2.1.5"
  24. config BR2_GCC_VERSION_4_2_3
  25. depends on !BR2_avr32
  26. depends on BR2_DEPRECATED
  27. bool "gcc 4.2.3"
  28. config BR2_GCC_VERSION_4_2_4
  29. depends on !BR2_avr32
  30. depends on BR2_RECENT || BR2_DEPRECATED
  31. bool "gcc 4.2.4"
  32. config BR2_GCC_VERSION_4_3_2
  33. depends on !BR2_avr32
  34. depends on BR2_DEPRECATED
  35. bool "gcc 4.3.2"
  36. config BR2_GCC_VERSION_4_3_3
  37. depends on !BR2_avr32
  38. depends on BR2_RECENT || BR2_DEPRECATED
  39. bool "gcc 4.3.3"
  40. config BR2_GCC_VERSION_4_3_4
  41. depends on !BR2_avr32
  42. bool "gcc 4.3.4"
  43. config BR2_GCC_VERSION_4_4_X
  44. depends on !BR2_avr32
  45. bool "gcc 4.4.x"
  46. config BR2_GCC_VERSION_SNAP
  47. depends on !BR2_avr32
  48. bool "gcc snapshot"
  49. endchoice
  50. config BR2_GCC_SUPPORTS_SYSROOT
  51. bool
  52. default y if !BR2_GCC_VERSION_4_1_2
  53. config BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE
  54. bool
  55. default y if !BR2_GCC_VERSION_4_1_2 && !BR2_GCC_VERSION_4_2_1 && !BR2_GCC_VERSION_4_2_2 && !BR2_GCC_VERSION_4_2_3 && !BR2_GCC_VERSION_4_2_4 && !BR2_GCC_VERSION_4_2_2_AVR32_2_1_5
  56. config BR2_GCC_SNAP_DATE
  57. string "GCC snapshot date"
  58. default "20070921"
  59. depends on BR2_GCC_VERSION_SNAP
  60. help
  61. Enter snapshot date to use for gcc. Format is:
  62. YYYYMMDD
  63. config BR2_GCC_VERSION
  64. string
  65. default "4.1.2" if BR2_GCC_VERSION_4_1_2
  66. default "4.2.1" if BR2_GCC_VERSION_4_2_1
  67. default "4.2.2" if BR2_GCC_VERSION_4_2_2
  68. default "4.2.2-avr32-2.1.5" if BR2_GCC_VERSION_4_2_2_AVR32_2_1_5
  69. default "4.2.3" if BR2_GCC_VERSION_4_2_3
  70. default "4.2.4" if BR2_GCC_VERSION_4_2_4
  71. default "4.3.2" if BR2_GCC_VERSION_4_3_2
  72. default "4.3.3" if BR2_GCC_VERSION_4_3_3
  73. default "4.3.4" if BR2_GCC_VERSION_4_3_4
  74. default "4.4.3" if BR2_GCC_VERSION_4_4_X
  75. default $BR2_GCC_SNAP_DATE if BR2_GCC_VERSION_SNAP
  76. config BR2_TOOLCHAIN_SYSROOT
  77. bool "Enable toolchain with --sysroot support"
  78. depends on BR2_GCC_SUPPORTS_SYSROOT
  79. default y
  80. help
  81. Enables --sysroot=dir for binutils and gcc.
  82. Use dir as the logical root directory for headers and libraries.
  83. For example, if the compiler would normally search for headers in
  84. /usr/include and libraries in /usr/lib, it will instead search
  85. dir/usr/include and dir/usr/lib.
  86. This does not work with gcc < 4.2.0 (4.1.2 gets
  87. ORIGINAL_AS_FOR_TARGET wrong)
  88. config BR2_GCC_USE_SJLJ_EXCEPTIONS
  89. bool "Enable setjmp/longjmp exceptions?"
  90. help
  91. For some platforms, proper stack unwinding works perfectly,
  92. while other platforms must use setjmp/longjmp exceptions for
  93. proper stack unwinding during exception handling. Most people
  94. can leave this set to n.
  95. config BR2_EXTRA_GCC_CONFIG_OPTIONS
  96. string "Additional gcc options"
  97. default ""
  98. help
  99. Any additional gcc configure options you may want to include....
  100. config BR2_GCC_CROSS_FORTRAN
  101. bool "Fortran cross-compiler support"
  102. depends on !BR2_avr32
  103. help
  104. Build a Fortran cross-compiler
  105. config BR2_GCC_CROSS_JAVA
  106. bool
  107. config BR2_INSTALL_LIBGCJ
  108. bool "Build/install java compiler and libgcj?"
  109. depends on !BR2_avr32 && BR2_INSTALL_LIBSTDCPP
  110. select BR2_GCC_CROSS_JAVA
  111. select BR2_LARGEFILE
  112. help
  113. Build/install java compiler and libgcj?
  114. config BR2_INSTALL_OBJC
  115. bool "Build/install Objective-C compiler and runtime?"
  116. depends on !BR2_avr32
  117. help
  118. Build/install Objective-C compiler and runtime?
  119. config BR2_INSTALL_FORTRAN
  120. bool "Build/install Fortran compiler and runtime?"
  121. depends on !BR2_avr32
  122. select BR2_PACKAGE_LIBMPFR
  123. help
  124. Build/install Fortran compiler and runtime?
  125. Note that it is highly recommended NOT to use gfortran
  126. from gcc older than 4.2.0
  127. config BR2_GCC_SHARED_LIBGCC
  128. bool "Build/install a shared libgcc?"
  129. depends on !BR2_PREFER_STATIC_LIB
  130. default y
  131. depends on !BR2_sparc && !BR2_sparc64
  132. help
  133. Build/install a shared libgcc library
  134. config BR2_GCC_ENABLE_TLS
  135. bool "Enable compiler tls support"
  136. default y
  137. depends on !BR2_GCC_VERSION_4_4_X
  138. help
  139. Enable the compiler to generate code for accessing
  140. thread local storage variables