Config.in 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. # Choose gcc version.
  2. comment "GCC Options"
  3. choice
  4. prompt "GCC compiler Version"
  5. default BR2_GCC_VERSION_4_5_X if !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8
  6. default BR2_GCC_VERSION_4_4_X if BR2_sparc_sparchfleon || BR2_sparc_sparchfleonv8 || BR2_sparc_sparcsfleon || BR2_sparc_sparcsfleonv8
  7. default BR2_GCC_VERSION_4_2_2_AVR32_2_1_5 if BR2_avr32
  8. help
  9. Select the version of gcc you wish to use.
  10. config BR2_GCC_VERSION_4_2_2_AVR32_2_1_5
  11. depends on BR2_avr32
  12. bool "gcc 4.2.2-avr32-2.1.5"
  13. config BR2_GCC_VERSION_4_3_X
  14. depends on !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8
  15. bool "gcc 4.3.x"
  16. config BR2_GCC_VERSION_4_4_X
  17. depends on !BR2_avr32
  18. bool "gcc 4.4.x"
  19. config BR2_GCC_VERSION_4_5_X
  20. depends on !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8
  21. bool "gcc 4.5.x"
  22. config BR2_GCC_VERSION_4_6_X
  23. depends on !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8
  24. bool "gcc 4.6.x"
  25. config BR2_GCC_VERSION_SNAP
  26. depends on !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8
  27. bool "gcc snapshot"
  28. endchoice
  29. config BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE
  30. bool
  31. default y if !BR2_GCC_VERSION_4_2_2_AVR32_2_1_5
  32. config BR2_GCC_SNAP_DATE
  33. string "GCC snapshot date"
  34. default "4.7-20110430"
  35. depends on BR2_GCC_VERSION_SNAP
  36. help
  37. Enter snapshot date to use for gcc.
  38. Format is: A.B-YYYYMMDD
  39. A is GCC major version, for example 4.
  40. B is GCC minor version, for example 7.
  41. YYYYMMDD is snapshot date, for example 20110430.
  42. This way we'd get version 4.7-20110430
  43. config BR2_GCC_VERSION
  44. string
  45. default "4.2.2-avr32-2.1.5" if BR2_GCC_VERSION_4_2_2_AVR32_2_1_5
  46. default "4.3.6" if BR2_GCC_VERSION_4_3_X
  47. default "4.4.6" if BR2_GCC_VERSION_4_4_X
  48. default "4.5.3" if BR2_GCC_VERSION_4_5_X
  49. default "4.6.2" if BR2_GCC_VERSION_4_6_X
  50. default $BR2_GCC_SNAP_DATE if BR2_GCC_VERSION_SNAP
  51. config BR2_EXTRA_GCC_CONFIG_OPTIONS
  52. string "Additional gcc options"
  53. default ""
  54. help
  55. Any additional gcc configure options you may want to include....
  56. config BR2_GCC_CROSS_JAVA
  57. bool
  58. config BR2_INSTALL_LIBGCJ
  59. bool "Build/install java compiler and libgcj?"
  60. depends on !BR2_avr32 && BR2_INSTALL_LIBSTDCPP
  61. select BR2_GCC_CROSS_JAVA
  62. select BR2_LARGEFILE
  63. depends on BROKEN
  64. help
  65. Build/install java compiler and libgcj?
  66. config BR2_INSTALL_OBJC
  67. bool "Build/install Objective-C compiler and runtime?"
  68. depends on !BR2_avr32
  69. help
  70. Build/install Objective-C compiler and runtime?
  71. config BR2_INSTALL_FORTRAN
  72. bool "Build/install Fortran compiler and runtime?"
  73. depends on !BR2_avr32
  74. select BR2_PACKAGE_LIBMPFR
  75. help
  76. Build/install Fortran compiler and runtime?
  77. Note that it is highly recommended NOT to use gfortran
  78. from gcc older than 4.2.0
  79. config BR2_GCC_SHARED_LIBGCC
  80. bool "Build/install a shared libgcc?"
  81. depends on !BR2_PREFER_STATIC_LIB
  82. default y
  83. depends on !BR2_sparc
  84. help
  85. Build/install a shared libgcc library
  86. config BR2_GCC_ENABLE_TLS
  87. bool "Enable compiler tls support"
  88. default y
  89. depends on BR2_PTHREADS_NATIVE
  90. help
  91. Enable the compiler to generate code for accessing
  92. thread local storage variables
  93. config BR2_GCC_ENABLE_OPENMP
  94. bool "Enable compiler OpenMP support"
  95. depends on !BR2_PTHREADS_NONE && !BR2_avr32
  96. help
  97. Enable OpenMP support for the compiler