<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: KDS building error: arm-none-eabi-gcc: error: unrecognized command line option '--start-group' in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-building-error-arm-none-eabi-gcc-error-unrecognized-command/m-p/388780#M2298</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jennie.&lt;/P&gt;&lt;P&gt;I forgot to mention that I indeed created the MQX 4.0 project in CW 10.6 by using GCC compiler. From screenshots above you also can find this. Is there any differences between the two GCC compilers in CW and KDS?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Sep 2014 01:07:05 GMT</pubDate>
    <dc:creator>hengguangyang</dc:creator>
    <dc:date>2014-09-09T01:07:05Z</dc:date>
    <item>
      <title>KDS building error: arm-none-eabi-gcc: error: unrecognized command line option '--start-group'</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-building-error-arm-none-eabi-gcc-error-unrecognized-command/m-p/388777#M2295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Target: GCC Project based on MQX(4.0.1) on K60&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;IDE: KDS 1.1.0; CW for MCU 10.6&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;MQX: 4.0.1, used libs: bsp psp mfs rtcs shell &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;A MQX 4.0 project was created and built successfully in CodeWarrior for MCU 10.6. But after I imported and converted it to a KDS project, the new project can't pass building in KDS &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;with following errors.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;arm-none-eabi-gcc: error: unrecognized command line option '--start-group'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;arm-none-eabi-gcc: error: unrecognized command line option '--start-group'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;arm-none-eabi-gcc: error: unrecognized command line option '--start-group'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;arm-none-eabi-gcc: error: unrecognized command line option '--start-group'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;arm-none-eabi-gcc: error: unrecognized command line option '--start-group'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;arm-none-eabi-gcc: error: unrecognized command line option '--start-group'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;arm-none-eabi-gcc: error: unrecognized command line option '--start-group'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;arm-none-eabi-gcc: error: unrecognized command line option '--start-group'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;arm-none-eabi-gcc: error: unrecognized command line option '--start-group'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;make: *** [UV4MCB.elf] Error 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I noticed that there are some contents in "Linker flags" option in CodeWarrior project settings while it's empty in converted KDS project.&lt;/P&gt;&lt;P&gt;In CodeWarrior:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="14463_14463.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119931iDC9AAA7105016C27/image-size/large?v=v2&amp;amp;px=999" role="button" title="14463_14463.jpg" alt="14463_14463.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="20140829103636.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/43540iA81C0C4032E09F3B/image-size/large?v=v2&amp;amp;px=999" role="button" title="20140829103636.jpg" alt="20140829103636.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In KDS:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="14464_14464.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119932i97CB965DD72E3726/image-size/large?v=v2&amp;amp;px=999" role="button" title="14464_14464.jpg" alt="14464_14464.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="20140829103753.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/43542i344A63AA17252DDF/image-size/large?v=v2&amp;amp;px=999" role="button" title="20140829103753.jpg" alt="20140829103753.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, even I manually input those options in KDS as the same with which in CodeWarrior, the building error are still the same. &lt;/P&gt;&lt;P&gt;I really confused. What's wrong with the KDS project?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2014 02:47:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-building-error-arm-none-eabi-gcc-error-unrecognized-command/m-p/388777#M2295</guid>
      <dc:creator>hengguangyang</dc:creator>
      <dc:date>2014-08-29T02:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: KDS building error: arm-none-eabi-gcc: error: unrecognized command line option '--start-group'</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-building-error-arm-none-eabi-gcc-error-unrecognized-command/m-p/388778#M2296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello hengguang Yang.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KDS only support GCC compiler. CW10.6 can support both gcc and FSL ARM compiler. from the two screenshot. these two projects use different compiler.&lt;/P&gt;&lt;P&gt;please make sure your CW10.6 project is using gcc compiler too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MQX4.1 has gcc compiler project. please check use it.&lt;/P&gt;&lt;P&gt;if you want to port Freescale ARM Compilerbased Projects to use ARM GCC. see attached Porting_ARM_GCC.pdf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;======================&lt;/P&gt;&lt;P&gt;this answer is for you. if it helps, please click on "Correct Answer" button.thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;&lt;P&gt;ZhangJun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2014 11:27:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-building-error-arm-none-eabi-gcc-error-unrecognized-command/m-p/388778#M2296</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2014-09-05T11:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: KDS building error: arm-none-eabi-gcc: error: unrecognized command line option '--start-group'</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-building-error-arm-none-eabi-gcc-error-unrecognized-command/m-p/388779#M2297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In addition to that, there is a porting guide in KDS:&lt;/P&gt;&lt;P&gt;C:\Freescale\KDS_1.1.1\doc\pdf\kds_porting_guide.pdf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Sep 2014 09:29:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-building-error-arm-none-eabi-gcc-error-unrecognized-command/m-p/388779#M2297</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2014-09-06T09:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: KDS building error: arm-none-eabi-gcc: error: unrecognized command line option '--start-group'</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-building-error-arm-none-eabi-gcc-error-unrecognized-command/m-p/388780#M2298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jennie.&lt;/P&gt;&lt;P&gt;I forgot to mention that I indeed created the MQX 4.0 project in CW 10.6 by using GCC compiler. From screenshots above you also can find this. Is there any differences between the two GCC compilers in CW and KDS?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2014 01:07:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-building-error-arm-none-eabi-gcc-error-unrecognized-command/m-p/388780#M2298</guid>
      <dc:creator>hengguangyang</dc:creator>
      <dc:date>2014-09-09T01:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: KDS building error: arm-none-eabi-gcc: error: unrecognized command line option '--start-group'</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-building-error-arm-none-eabi-gcc-error-unrecognized-command/m-p/388781#M2299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are differences in the compiler branch/versions. The most obvious differences are in the linker and in the libraries. Aparat of bug fixes between the compiler versions (because of the time difference when they were built), they are pretty much the same. Related to the libraries, the KDS newlib-nano libs have an issue that they use too much heap. But you can replace the build tools with the stock GNU ARM Embedded (lauchpad) tools maintained by ARM if you want or need this (see &lt;A href="http://mcuoneclipse.com/2014/07/11/switching-arm-gnu-tool-chain-and-libraries-in-kinetis-design-studio/" title="http://mcuoneclipse.com/2014/07/11/switching-arm-gnu-tool-chain-and-libraries-in-kinetis-design-studio/"&gt;Switching ARM GNU Tool Chain and Libraries in Kinetis Design Studio&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2014 01:38:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-building-error-arm-none-eabi-gcc-error-unrecognized-command/m-p/388781#M2299</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2014-09-09T01:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: KDS building error: arm-none-eabi-gcc: error: unrecognized command line option '--start-group'</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-building-error-arm-none-eabi-gcc-error-unrecognized-command/m-p/388782#M2300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Erich.&lt;/P&gt;&lt;P&gt;I won't change default tool chain unless there is no other solution, since it's too troublesome for me. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Sep 2014 01:24:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/KDS-building-error-arm-none-eabi-gcc-error-unrecognized-command/m-p/388782#M2300</guid>
      <dc:creator>hengguangyang</dc:creator>
      <dc:date>2014-09-12T01:24:53Z</dc:date>
    </item>
  </channel>
</rss>

