2
1

Config.in 4.7 KB

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