Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
Checking mergeability… Don’t worry, you can still create the pull request.
Commits on Jun 13, 2014
The original patch in the gcc mainline tree was written by
Benjamin Kosnik  <bkoz@redhat.com> at 2009-09-28. The patch
can be found at the SHA1 b66f4546f26d22917c3642862a390b485ae5f9b7.
The original patch in the gcc mainline tree was written by
Benjamin Kosnik  <bkoz@redhat.com> at 2009-09-28. The patch
can be found at the SHA1 b66f4546f26d22917c3642862a390b485ae5f9b7.
Commits on Jun 15, 2014
…arget binary size when dynamic memory is used.

Also, remove --enable-sjlj-exceptions as a test as it increases binary size.
Commits on Feb 23, 2016
Showing with 407,812 additions and 44 deletions.
  1. +27 −23 Makefile
  2. +21 −21 README.asciidoc → README.md
  3. +254 −0 headers/avr32/abdac_101.h
  4. +78 −0 headers/avr32/abi.h
  5. +983 −0 headers/avr32/ac97c_210.h
  6. +1,210 −0 headers/avr32/ac97c_220.h
  7. +894 −0 headers/avr32/acifa_100.h
  8. +1,913 −0 headers/avr32/acifb_201.h
  9. +1,957 −0 headers/avr32/acifb_202.h
  10. +1,124 −0 headers/avr32/adc_102.h
  11. +1,124 −0 headers/avr32/adc_110.h
  12. +1,123 −0 headers/avr32/adc_200.h
  13. +1,911 −0 headers/avr32/adcifa_100.h
  14. +1,652 −0 headers/avr32/adcifb_100.h
  15. +1,652 −0 headers/avr32/adcifb_101.h
  16. +702 −0 headers/avr32/aes_1231.h
  17. +1,367 −0 headers/avr32/ap7000.h
  18. +1,139 −0 headers/avr32/ap7001.h
  19. +1,263 −0 headers/avr32/ap7002.h
  20. +2,186 −0 headers/avr32/ap7200.h
  21. +642 −0 headers/avr32/ast_100.h
  22. +1,045 −0 headers/avr32/ast_200.h
  23. +1,021 −0 headers/avr32/ast_300.h
  24. +1 −0 headers/avr32/avr32headers-version.txt
  25. +441 −0 headers/avr32/aw_200.h
  26. +441 −0 headers/avr32/aw_201.h
  27. +441 −0 headers/avr32/aw_210.h
  28. +315 −0 headers/avr32/busmon_100.h
  29. +1,127 −0 headers/avr32/canif_100.h
  30. +1,104 −0 headers/avr32/cat_100.h
  31. +1,325 −0 headers/avr32/cat_200.h
  32. +746 −0 headers/avr32/core_c3_100.h
  33. +750 −0 headers/avr32/core_c3_200.h
  34. +1,233 −0 headers/avr32/core_sc0_100.h
  35. +1,806 −0 headers/avr32/core_sc0_130.h
  36. +1,806 −0 headers/avr32/core_sc0_140.h
  37. +1,719 −0 headers/avr32/core_sc0_142.h
  38. +1,840 −0 headers/avr32/core_sc0_143.h
  39. +1,901 −0 headers/avr32/core_sc0_200.h
  40. +1,889 −0 headers/avr32/core_sc0_210.h
  41. +796 −0 headers/avr32/dacifb_100.h
  42. +2,167 −0 headers/avr32/dmaca_206a.h
  43. +210 −0 headers/avr32/ecc_100.h
  44. +353 −0 headers/avr32/ecc_200.h
  45. +4,330 −0 headers/avr32/ecchrs_100.h
  46. +407 −0 headers/avr32/eic_100.h
  47. +961 −0 headers/avr32/eic_200.h
  48. +961 −0 headers/avr32/eic_210.h
  49. +961 −0 headers/avr32/eic_230.h
  50. +961 −0 headers/avr32/eic_231.h
  51. +962 −0 headers/avr32/eic_2311.h
  52. +1,629 −0 headers/avr32/eic_300.h
  53. +1,729 −0 headers/avr32/eic_301.h
  54. +606 −0 headers/avr32/flashc_100.h
  55. +907 −0 headers/avr32/flashc_200.h
  56. +922 −0 headers/avr32/flashc_210.h
  57. +914 −0 headers/avr32/flashc_212.h
  58. +961 −0 headers/avr32/flashc_300.h
  59. +1,027 −0 headers/avr32/flashcdw_100.h
  60. +983 −0 headers/avr32/flashcdw_101.h
  61. +1,042 −0 headers/avr32/flashcdw_102.h
  62. +131 −0 headers/avr32/flashvault.h
  63. +322 −0 headers/avr32/freqm_200.h
  64. +322 −0 headers/avr32/freqm_210.h
  65. +322 −0 headers/avr32/freqm_230.h
  66. +322 −0 headers/avr32/freqm_231.h
  67. +311 −0 headers/avr32/freqm_2311.h
  68. +329 −0 headers/avr32/freqm_300.h
  69. +605 −0 headers/avr32/freqm_301.h
  70. +198 −0 headers/avr32/gpio_100.h
  71. +281 −0 headers/avr32/gpio_110.h
  72. +300 −0 headers/avr32/gpio_200.h
  73. +360 −0 headers/avr32/gpio_210.h
  74. +375 −0 headers/avr32/gpio_211.h
  75. +243 −0 headers/avr32/gpio_local_100.h
  76. +2,135 −0 headers/avr32/hmatrix_220.h
  77. +2,135 −0 headers/avr32/hmatrix_230.h
  78. +189 −0 headers/avr32/intc_101.h
  79. +1,138 −0 headers/avr32/intc_102.h
  80. +276 −0 headers/avr32/io.h
  81. +351 −0 headers/avr32/ioap7000.h
  82. +333 −0 headers/avr32/ioap7001.h
  83. +339 −0 headers/avr32/ioap7002.h
  84. +351 −0 headers/avr32/ioap7200.h
  85. +1,297 −0 headers/avr32/ioavr32.h
  86. +336 −0 headers/avr32/iouc3a0128.h
  87. +336 −0 headers/avr32/iouc3a0256.h
  88. +336 −0 headers/avr32/iouc3a0512.h
  89. +326 −0 headers/avr32/iouc3a0512es.h
  90. +328 −0 headers/avr32/iouc3a1128.h
  91. +328 −0 headers/avr32/iouc3a1256.h
  92. +328 −0 headers/avr32/iouc3a1512.h
  93. +318 −0 headers/avr32/iouc3a1512es.h
  94. +336 −0 headers/avr32/iouc3a3128.h
  95. +336 −0 headers/avr32/iouc3a3128s.h
  96. +336 −0 headers/avr32/iouc3a3256.h
  97. +336 −0 headers/avr32/iouc3a3256s.h
  98. +336 −0 headers/avr32/iouc3a364.h
  99. +336 −0 headers/avr32/iouc3a364s.h
  100. +304 −0 headers/avr32/iouc3b0128.h
  101. +304 −0 headers/avr32/iouc3b0256.h
  102. +300 −0 headers/avr32/iouc3b0256es.h
  103. +304 −0 headers/avr32/iouc3b064.h
  104. +298 −0 headers/avr32/iouc3b1128.h
  105. +298 −0 headers/avr32/iouc3b1256.h
  106. +294 −0 headers/avr32/iouc3b1256es.h
  107. +298 −0 headers/avr32/iouc3b164.h
  108. +378 −0 headers/avr32/iouc3c0128c.h
  109. +378 −0 headers/avr32/iouc3c0256c.h
  110. +378 −0 headers/avr32/iouc3c0512c.h
  111. +378 −0 headers/avr32/iouc3c064c.h
  112. +378 −0 headers/avr32/iouc3c1128c.h
  113. +378 −0 headers/avr32/iouc3c1256c.h
  114. +378 −0 headers/avr32/iouc3c1512c.h
  115. +378 −0 headers/avr32/iouc3c164c.h
  116. +378 −0 headers/avr32/iouc3c2128c.h
  117. +378 −0 headers/avr32/iouc3c2256c.h
  118. +378 −0 headers/avr32/iouc3c2512c.h
  119. +378 −0 headers/avr32/iouc3c264c.h
  120. +347 −0 headers/avr32/iouc3l016.h
  121. +347 −0 headers/avr32/iouc3l032.h
  122. +347 −0 headers/avr32/iouc3l064.h
  123. +877 −0 headers/avr32/isi_005.h
  124. +877 −0 headers/avr32/isi_0051.h
  125. +786 −0 headers/avr32/keypad_100.h
  126. +2,222 −0 headers/avr32/lcdc_170.h
  127. +2,222 −0 headers/avr32/lcdc_172.h
  128. +1,621 −0 headers/avr32/macb_112.h
  129. +1,612 −0 headers/avr32/macb_1121.h
  130. +1,233 −0 headers/avr32/mci_210.h
  131. +1,740 −0 headers/avr32/mci_300.h
  132. +1,728 −0 headers/avr32/mci_303.h
  133. +935 −0 headers/avr32/mdma_100.h
  134. +1,545 −0 headers/avr32/mpop_100.h
  135. +726 −0 headers/avr32/msi_210.h
  136. +1,053 −0 headers/avr32/ocd_o3_100.h
  137. +1,037 −0 headers/avr32/ocd_o3_200.h
  138. +838 −0 headers/avr32/ocd_s0_100.h
  139. +833 −0 headers/avr32/ocd_s0_130.h
  140. +834 −0 headers/avr32/ocd_s0_140.h
  141. +812 −0 headers/avr32/ocd_s0_142.h
  142. +962 −0 headers/avr32/ocd_s0_143.h
  143. +990 −0 headers/avr32/ocd_s0_200.h
  144. +990 −0 headers/avr32/ocd_s0_210.h
  145. +492 −0 headers/avr32/pdca_100.h
  146. +492 −0 headers/avr32/pdca_102.h
  147. +602 −0 headers/avr32/pdca_110.h
  148. +676 −0 headers/avr32/pdca_120.h
  149. +3,220 −0 headers/avr32/pdca_121.h
  150. +3,220 −0 headers/avr32/pdca_122.h
  151. +578 −0 headers/avr32/pevc_100.h
  152. +5,155 −0 headers/avr32/pio_202.h
  153. +848 −0 headers/avr32/pm_100.h
  154. +1,297 −0 headers/avr32/pm_200.h
  155. +1,316 −0 headers/avr32/pm_210.h
  156. +1,315 −0 headers/avr32/pm_230.h
  157. +1,315 −0 headers/avr32/pm_231.h
  158. +1,311 −0 headers/avr32/pm_2311.h
  159. +1,703 −0 headers/avr32/pm_300.h
  160. +1,215 −0 headers/avr32/pm_400.h
  161. +1,282 −0 headers/avr32/pm_410.h
  162. +1,160 −0 headers/avr32/pm_411.h
  163. +713 −0 headers/avr32/psif_100.h
  164. +875 −0 headers/avr32/pwm_120.h
  165. +875 −0 headers/avr32/pwm_130.h
  166. +3,355 −0 headers/avr32/pwm_410.h
  167. +484 −0 headers/avr32/pwma_100.h
  168. +484 −0 headers/avr32/pwma_101.h
  169. +985 −0 headers/avr32/qdec_100.h
  170. +231 −0 headers/avr32/rtc_100.h
  171. +249 −0 headers/avr32/rtc_200.h
  172. +249 −0 headers/avr32/rtc_210.h
  173. +259 −0 headers/avr32/rtc_230.h
  174. +259 −0 headers/avr32/rtc_231.h
  175. +246 −0 headers/avr32/rtc_2311.h
  176. +661 −0 headers/avr32/sau_100.h
  177. +703 −0 headers/avr32/sau_110.h
  178. +1,986 −0 headers/avr32/scif_100.h
  179. +1,571 −0 headers/avr32/scif_101.h
  180. +2,092 −0 headers/avr32/scif_102.h
  181. +851 −0 headers/avr32/sdc_100.h
  182. +568 −0 headers/avr32/sdramc_200.h
  183. +568 −0 headers/avr32/sdramc_201.h
  184. +568 −0 headers/avr32/sdramc_220.h
  185. +942 −0 headers/avr32/smc_104.h
  186. +878 −0 headers/avr32/smc_106.h
  187. +930 −0 headers/avr32/spi_171.h
  188. +929 −0 headers/avr32/spi_192.h
  189. +921 −0 headers/avr32/spi_1922.h
  190. +941 −0 headers/avr32/spi_199.h
  191. +942 −0 headers/avr32/spi_1991.h
  192. +1,036 −0 headers/avr32/spi_200.h
  193. +1,044 −0 headers/avr32/spi_210.h
  194. +1,193 −0 headers/avr32/spi_211.h
  195. +1,218 −0 headers/avr32/ssc_220.h
  196. +1,069 −0 headers/avr32/ssc_301.h
  197. +1,069 −0 headers/avr32/ssc_310.h
  198. +1,050 −0 headers/avr32/ssc_320.h
  199. +1,036 −0 headers/avr32/ssc_330.h
  200. +1,739 −0 headers/avr32/tc_221.h
  201. +1,745 −0 headers/avr32/tc_222.h
  202. +1,709 −0 headers/avr32/tc_223.h
  203. +1,813 −0 headers/avr32/tc_2231.h
  204. +1,119 −0 headers/avr32/tsadcc_101.h
  205. +460 −0 headers/avr32/twi_180.h
  206. +728 −0 headers/avr32/twi_202.h
  207. +728 −0 headers/avr32/twi_211.h
  208. +728 −0 headers/avr32/twi_300.h
  209. +853 −0 headers/avr32/twim_100.h
  210. +897 −0 headers/avr32/twim_101.h
  211. +956 −0 headers/avr32/twis_100.h
  212. +980 −0 headers/avr32/twis_110.h
  213. +972 −0 headers/avr32/twis_112.h
  214. +1,347 −0 headers/avr32/uc3a0128.h
  215. +1,347 −0 headers/avr32/uc3a0256.h
  216. +1,347 −0 headers/avr32/uc3a0512.h
  217. +1,137 −0 headers/avr32/uc3a0512es.h
  218. +991 −0 headers/avr32/uc3a1128.h
  219. +991 −0 headers/avr32/uc3a1256.h
  220. +991 −0 headers/avr32/uc3a1512.h
  221. +922 −0 headers/avr32/uc3a1512es.h
  222. +1,620 −0 headers/avr32/uc3a3128.h
  223. +1,634 −0 headers/avr32/uc3a3128s.h
  224. +1,622 −0 headers/avr32/uc3a3256.h
  225. +1,634 −0 headers/avr32/uc3a3256s.h
  226. +1,620 −0 headers/avr32/uc3a364.h
  227. +1,634 −0 headers/avr32/uc3a364s.h
  228. +899 −0 headers/avr32/uc3b0128.h
  229. +899 −0 headers/avr32/uc3b0256.h
  230. +847 −0 headers/avr32/uc3b0256es.h
  231. +940 −0 headers/avr32/uc3b0512.h
  232. +899 −0 headers/avr32/uc3b064.h
  233. +747 −0 headers/avr32/uc3b1128.h
  234. +747 −0 headers/avr32/uc3b1256.h
  235. +719 −0 headers/avr32/uc3b1256es.h
  236. +852 −0 headers/avr32/uc3b1512.h
  237. +747 −0 headers/avr32/uc3b164.h
  238. +2,223 −0 headers/avr32/uc3c0128c.h
  239. +2,222 −0 headers/avr32/uc3c0256c.h
  240. +2,227 −0 headers/avr32/uc3c0512c.h
  241. +2,227 −0 headers/avr32/uc3c0512crevc.h
  242. +2,226 −0 headers/avr32/uc3c064c.h
  243. +1,930 −0 headers/avr32/uc3c1128c.h
  244. +1,932 −0 headers/avr32/uc3c1256c.h
  245. +1,934 −0 headers/avr32/uc3c1512c.h
  246. +1,934 −0 headers/avr32/uc3c1512crevc.h
  247. +1,930 −0 headers/avr32/uc3c164c.h
  248. +1,613 −0 headers/avr32/uc3c2128c.h
  249. +1,610 −0 headers/avr32/uc3c2256c.h
  250. +1,610 −0 headers/avr32/uc3c2512c.h
  251. +1,610 −0 headers/avr32/uc3c2512crevc.h
  252. +1,611 −0 headers/avr32/uc3c264c.h
  253. +1,451 −0 headers/avr32/uc3l016.h
  254. +1,450 −0 headers/avr32/uc3l032.h
  255. +1,440 −0 headers/avr32/uc3l064.h
  256. +1,434 −0 headers/avr32/uc3l064revb.h
  257. +1,126 −0 headers/avr32/uc3l116.h
  258. +1,126 −0 headers/avr32/uc3l132.h
  259. +1,127 −0 headers/avr32/uc3l164.h
  260. +1,057 −0 headers/avr32/uc3l216.h
  261. +1,057 −0 headers/avr32/uc3l232.h
  262. +1,057 −0 headers/avr32/uc3l264.h
  263. +1,284 −0 headers/avr32/uc3l316.h
  264. +1,281 −0 headers/avr32/uc3l332.h
  265. +1,282 −0 headers/avr32/uc3l364.h
  266. +1,571 −0 headers/avr32/usart_302.h
  267. +1,370 −0 headers/avr32/usart_319.h
  268. +1,773 −0 headers/avr32/usart_400.h
  269. +1,773 −0 headers/avr32/usart_410.h
  270. +1,796 −0 headers/avr32/usart_420.h
  271. +2,227 −0 headers/avr32/usart_440.h
  272. +16,428 −0 headers/avr32/usb_320.h
  273. +5,254 −0 headers/avr32/usba_140.h
  274. +14,272 −0 headers/avr32/usbb_260.h
  275. +14,272 −0 headers/avr32/usbb_270.h
  276. +14,494 −0 headers/avr32/usbb_310.h
  277. +14,838 −0 headers/avr32/usbb_3101.h
  278. +14,494 −0 headers/avr32/usbb_311.h
  279. +14,494 −0 headers/avr32/usbb_3112.h
  280. +14,495 −0 headers/avr32/usbb_320.h
  281. +1,866 −0 headers/avr32/usbh_291a.h
  282. +124 −0 headers/avr32/wdt_100.h
  283. +125 −0 headers/avr32/wdt_200.h
  284. +125 −0 headers/avr32/wdt_210.h
  285. +125 −0 headers/avr32/wdt_230.h
  286. +125 −0 headers/avr32/wdt_231.h
  287. +101 −0 headers/avr32/wdt_2311.h
  288. +230 −0 headers/avr32/wdt_300.h
  289. +507 −0 headers/avr32/wdt_400.h
  290. +503 −0 headers/avr32/wdt_401.h
  291. +503 −0 headers/avr32/wdt_402.h
  292. BIN headers/headers.zip
  293. +764 −0 patches/binutils/00-texinfo-5.0-support.patch
  294. +189 −0 patches/gcc/02-libstdc++-libsupc++-with-fno-exceptions.patch
  295. +17 −0 patches/gcc/03-libstdc++-with-fno-exceptions.patch
  296. +89 −0 patches/gcc/04-texinfo-5.0-support.patch
  297. +24 −0 patches/gcc/05-gperf-3.0.4.patch
  298. +17 −0 patches/gcc/06-gcc.texi.diff
@@ -24,9 +24,9 @@

GCC_VERSION = 4.4.7
BINUTILS_VERSION = 2.23.1
NEWLIB_VERSION = 1.16.0
NEWLIB_VERSION = 1.19.0
DFU_VERSION = 0.5.4
AVR32_PATCH_REV = 3.4.2
AVR32_PATCH_REV = 3.4.3
ATMEL_HEADER_REV = 6.1.3.1475


@@ -73,13 +73,13 @@ BINUTILS_MD5 = 33adb18c3048d057ac58d07a3f1adb38

NEWLIB_ARCHIVE = newlib-$(NEWLIB_VERSION).tar.gz
NEWLIB_URL = ftp://sources.redhat.com/pub/newlib/$(NEWLIB_ARCHIVE)
NEWLIB_MD5 = bf8f1f9e3ca83d732c00a79a6ef29bc4
NEWLIB_MD5 = 0966e19f03217db9e9076894b47e6601

AVR32PATCHES_ARCHIVE = avr32-patches.tar.gz
AVR32PATCHES_URL = http://distribute.atmel.no/tools/opensource/Atmel-AVR-Toolchain-$(AVR32_PATCH_REV)/avr32/$(AVR32PATCHES_ARCHIVE)
AVR32PATCHES_URL = http://distribute.atmel.no/tools/opensource/Atmel-AVR32-GNU-Toolchain/$(AVR32_PATCH_REV)/$(AVR32PATCHES_ARCHIVE)
AVR32PATCHES_MD5 = 99b2f4497d264c9200538bb1229fdef9

AVR32HEADERS_ARCHIVE = atmel-headers-$(ATMEL_HEADER_REV).zip
AVR32HEADERS_ARCHIVE = headers.zip
AVR32HEADERS_URL = http://www.atmel.com/Images/$(AVR32HEADERS_ARCHIVE)
AVR32HEADERS_MD5 = d69e8e188470e4fea68a4650442b5750

@@ -228,20 +228,18 @@ extract-avr32patches stamps/extract-avr32patches : downloads/$(AVR32PATCHES_ARCH

.PHONY: download-avr32headers
downloads/$(AVR32HEADERS_ARCHIVE) download-avr32headers:
cd downloads && curl -LO $(AVR32HEADERS_URL)
cd downloads && cp ../headers/headers.zip .

.PHONY: extract-headers
extract-headers stamps/extract-headers : downloads/$(AVR32HEADERS_ARCHIVE)
@(t1=`openssl md5 $< | cut -f 2 -d " " -` && \
[ "$$t1" = "$(AVR32HEADERS_MD5)" ] || \
( echo "Bad Checksum! Please remove the following file and retry: $<" && false ))
unzip -o $<
cd downloads/ && unzip -o $(notdir $<)
mkdir -p stamps
touch stamps/extract-headers

.PHONY: install-headers
install-headers stamps/install-headers : stamps/extract-headers stamps/install-final-gcc
cp -r atmel-headers-$(ATMEL_HEADER_REV)/$(TARGET) $(PREFIX)/$(TARGET)/include/$(TARGET)
cp -r downloads/headers/* $(PREFIX)/$(TARGET)/include/
cp -r headers/avr32 $(PREFIX)/$(TARGET)/include/
mkdir -p stamps
touch stamps/install-headers

@@ -349,6 +347,7 @@ patch-binutils stamps/patch-binutils: stamps/extract-binutils stamps/extract-avr
for f in ../avr32-patches/binutils/*.patch; do \
patch -N -p0 <$${f} ; \
done ; \
patch -N -p1 <../patches/binutils/00-texinfo-5.0-support.patch ; \
popd ; \
[ -d stamps ] || mkdir stamps
touch stamps/patch-binutils;
@@ -379,7 +378,7 @@ build-binutils stamps/build-binutils: stamps/regen-binutils stamps/install-supp-
--disable-shared --disable-werror \
--with-sysroot="$(PREFIX)/$(TARGET)" --with-bugurl=$(BUG_URL) && \
$(MAKE) all-bfd TARGET-bfd=headers; \
rm bfd/Makefile; \
rm -f bfd/Makefile; \
make configure-bfd; \
$(MAKE)
[ -d stamps ] || mkdir stamps ;
@@ -453,13 +452,19 @@ patch-gcc stamps/patch-gcc: stamps/extract-gcc stamps/extract-avr32patches
done ; \
patch -N -p0 <../patches/gcc/00-libstdc++-shared_ptr-without-rtti-bug-42019.patch ; \
patch -N -p0 <../patches/gcc/01-gcc-floor_log2-error.patch ; \
patch -N -p0 <../patches/gcc/02-libstdc++-libsupc++-with-fno-exceptions.patch ; \
patch -N -p0 <../patches/gcc/03-libstdc++-with-fno-exceptions.patch ; \
patch -N -p1 <../patches/gcc/04-texinfo-5.0-support.patch ; \
patch -N -p1 <../patches/gcc/05-gperf-3.0.4.patch ; \
patch -N -p0 < ../patches/gcc/06-gcc.texi.diff ; \
popd ;
[ -d stamps ] || mkdir stamps
touch stamps/patch-gcc;

CFLAGS_FOR_TARGET="-ffunction-sections -fdata-sections \
CFLAGS_FOR_TARGET=-ffunction-sections -fdata-sections \
-fomit-frame-pointer -DPREFER_SIZE_OVER_SPEED -D__OPTIMIZE_SIZE__ -g \
-Os -fno-unroll-loops"
-Os -fno-unroll-loops
CXXFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET) -fno-exceptions

.PHONY: build-gcc
build-gcc stamps/build-gcc: stamps/install-binutils stamps/prep-gcc
@@ -470,20 +475,19 @@ build-gcc stamps/build-gcc: stamps/install-binutils stamps/prep-gcc
../../gcc-$(GCC_VERSION)/configure --prefix="$(PREFIX)" \
--target=$(TARGET) --enable-languages="c" --with-gnu-ld \
--with-gnu-as --with-newlib --disable-nls --disable-libssp \
--with-dwarf2 --enable-sjlj-exceptions \
--enable-version-specific-runtime-libs --disable-libstdcxx-pch \
--with-dwarf2 --enable-version-specific-runtime-libs --disable-libstdcxx-pch \
--disable-shared \
--with-build-time-tools="$(PREFIX)/$(TARGET)/bin" \
--enable-cxx-flags=$(CFLAGS_FOR_TARGET) \
--enable-cxx-flags="$(CXXFLAGS_FOR_TARGET)" \
--with-sysroot="$(PREFIX)/$(TARGET)" \
--with-build-sysroot="$(PREFIX)/$(TARGET)" \
--with-build-time-tools="$(PREFIX)/$(TARGET)/bin" \
CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET) \
CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
LDFLAGS_FOR_TARGET="--sysroot=\"$(PREFIX)/$(TARGET)\"" \
CPPFLAGS_FOR_TARGET="--sysroot=\"$(PREFIX)/$(TARGET)\"" \
--with-bugurl=$(BUG_URL) \
--with-pkgversion=$(PKG_VERSION) && \
rm ../../gcc-4.4.7/gcc/cp/cfns.h && \
rm -f ../../gcc-4.4.7/gcc/cp/cfns.h && \
$(MAKE) -j$(PROCS)
[ -d stamps ] || mkdir stamps
touch stamps/build-gcc;
@@ -513,15 +517,15 @@ build-final-gcc stamps/build-final-gcc: stamps/install-binutils stamps/install-g
../../gcc-$(GCC_VERSION)/configure --prefix=$(PREFIX) \
--target=$(TARGET) $(DEPENDENCIES) --enable-languages="c,c++" --with-gnu-ld \
--with-gnu-as --with-newlib --disable-nls --disable-libssp \
--with-dwarf2 --enable-sjlj-exceptions \
--enable-version-specific-runtime-libs --disable-libstdcxx-pch \
--with-dwarf2 --enable-version-specific-runtime-libs --disable-libstdcxx-pch \
--disable-shared --enable-__cxa_atexit \
--with-build-time-tools=$(PREFIX)/$(TARGET)/bin \
--enable-cxx-flags=$(CFLAGS_FOR_TARGET) \
--enable-cxx-flags="$(CXXFLAGS_FOR_TARGET)" \
--with-sysroot=$(PREFIX)/$(TARGET) \
--with-build-sysroot=$(PREFIX)/$(TARGET) \
--with-build-time-tools=$(PREFIX)/$(TARGET)/bin \
CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET) \
--disable-libstdcxx-verbose \
CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
LDFLAGS_FOR_TARGET="--sysroot=$(PREFIX)/$(TARGET)" \
CPPFLAGS_FOR_TARGET="--sysroot=$(PREFIX)/$(TARGET)" \
--with-bugurl=$(BUG_URL) \
@@ -11,9 +11,9 @@ Note: If you have previously built a toolchain of another version, out
of the same builder directory, make sure to do the following first
before building with newer sources:

----
```bash
make clean
----
```

=== Requirements (OS X) ===

@@ -32,46 +32,46 @@ I'll add these to the Makefile once I have a consistent configuration
that can be used for both Linux & OS X.

With homebrew you can install those dependencies like this:
----
```bash
brew install mpfr gmp libmpc texinfo
----
```

If you would like to build dfu-programmer, also install libusb:

----
```bash
brew install libusb-compat
----
```


=== Requirements (Ubuntu) ===

These instructions should now also work on Ubuntu Linux, provided the
following packages have been installed prior to attempting the build:

----
sudo apt-get install curl flex bison libgmp3-dev libmpfr-dev autoconf build-essential libncurses5-dev libmpc-dev texinfo
----
```bash
sudo apt-get install curl flex bison libgmp3-dev libmpfr-dev autoconf build-essential libncurses5-dev libmpc-dev texinfo gperf
```

If you would like to build dfu-programmer, also install libusb:

----
```bash
sudo apt-get install libusb-dev
----
```

=== Main Build Instructions ===

Next build the toolchain:

----
```bash
make install-cross
----
```

You should be able to also specify a specific install/prefix location
by building using the following type of invokation:

----
```bash
PREFIX=$HOME/avr32-tools make install-cross
----
```

If you do this, make sure you have permissions to create a directory
at this location and/or to create directories within this location if
@@ -83,9 +83,9 @@ the directory already exists.
is fixed in Apple's distribution of llvm-gcc, use the following
command instead of the above to build.

----
```bash
CC=gcc-4.2 make install-cross
----
```



@@ -101,24 +101,24 @@ location, which will be based on the git revision if you cloned the
repository or the current date if you grabbed a tarball and/or you
don't have the git binary. The message should look like the following:

----
```bash
====== INSTALLATION NOTE ======
Your tools have now been installed at the following prefix:
/Users/jsnyder/avr32-tools-bd2485b
Please be sure to add something similar to the following to your .bash_profile, .zshrc, etc:
export PATH=/Users/jsnyder/avr32-tools-bd2485b/bin:$PATH
----
```

If it uses the date instead the the git short revision will bve
replaced with a date number like: 20110726.

If you also would like dfu-programmer installed intalled (make sure
you have previously installed libusb as described in requirements):

----
```bash
make install-dfu
----
```

=== Special Thanks ===

No commit comments for this range