<?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: Linker won't run: &amp;quot;The system cannot execute the specified program&amp;quot; in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Linker-won-t-run-quot-The-system-cannot-execute-the-specified/m-p/389150#M2318</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The complete command line is huge, there are a lot of .o files.&amp;nbsp;&amp;nbsp; So yes, it certainly exceeds 8192 characters.&amp;nbsp; I was not aware of this limitation.&amp;nbsp; So if this is indeed the problem, the question is, how to get around it? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Mar 2015 15:23:38 GMT</pubDate>
    <dc:creator>mike1974</dc:creator>
    <dc:date>2015-03-17T15:23:38Z</dc:date>
    <item>
      <title>Linker won't run: "The system cannot execute the specified program"</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Linker-won-t-run-quot-The-system-cannot-execute-the-specified/m-p/389147#M2315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Building my project using KDS 2.0.0... when it gets to linker stage...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;'Building target: M2.elf'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;'Invoking: Cross ARM C++ Linker'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;arm-none-eabi-g++ -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections&amp;nbsp; -g3 -T "C:/M2/Project_Settings/Linker_Files/ProcessorExpert.ld" -Xlinker --gc-sections -L"C:/M2/Project_Settings/Linker_Files" -Wl,-Map,"M2.map" -nanolibc -o "M2.elf"&amp;nbsp;&amp;nbsp; ... ...&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;The system cannot execute the specified program&lt;/STRONG&gt;.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;make: *** [M2.elf] Error 1&lt;/EM&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Anyone seen this before, or know if there is a log somewhere which shows more details?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Thanks in advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Mike&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 23:18:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Linker-won-t-run-quot-The-system-cannot-execute-the-specified/m-p/389147#M2315</guid>
      <dc:creator>mike1974</dc:creator>
      <dc:date>2015-03-16T23:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: Linker won't run: "The system cannot execute the specified program"</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Linker-won-t-run-quot-The-system-cannot-execute-the-specified/m-p/389148#M2316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where does your project placed in ?&amp;nbsp; directly under the C or a workspace ?&lt;/P&gt;&lt;P&gt;And can your send your project ? I will check it on my side .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Alice&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 01:31:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Linker-won-t-run-quot-The-system-cannot-execute-the-specified/m-p/389148#M2316</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2015-03-17T01:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: Linker won't run: "The system cannot execute the specified program"</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Linker-won-t-run-quot-The-system-cannot-execute-the-specified/m-p/389149#M2317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;is that the complete command line from the console log, or something missing (...)? Could it be that your command line length exceeds 8192 characters?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 06:36:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Linker-won-t-run-quot-The-system-cannot-execute-the-specified/m-p/389149#M2317</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2015-03-17T06:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Linker won't run: "The system cannot execute the specified program"</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Linker-won-t-run-quot-The-system-cannot-execute-the-specified/m-p/389150#M2318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The complete command line is huge, there are a lot of .o files.&amp;nbsp;&amp;nbsp; So yes, it certainly exceeds 8192 characters.&amp;nbsp; I was not aware of this limitation.&amp;nbsp; So if this is indeed the problem, the question is, how to get around it? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 15:23:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Linker-won-t-run-quot-The-system-cannot-execute-the-specified/m-p/389150#M2318</guid>
      <dc:creator>mike1974</dc:creator>
      <dc:date>2015-03-17T15:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: Linker won't run: "The system cannot execute the specified program"</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Linker-won-t-run-quot-The-system-cannot-execute-the-specified/m-p/389151#M2319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The project is called "M2" and the project folder is located in C:\M2.&amp;nbsp; It is part of a workspace called "kds_workspace".&amp;nbsp; The folder for this workspace is located at C:\kds_workspace. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure how I ended up with the project folder outside of the workspace folder, but I don't know if that matters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes I will send it to you, how would you like me to do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 15:36:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Linker-won-t-run-quot-The-system-cannot-execute-the-specified/m-p/389151#M2319</guid>
      <dc:creator>mike1974</dc:creator>
      <dc:date>2015-03-17T15:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: Linker won't run: "The system cannot execute the specified program"</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Linker-won-t-run-quot-The-system-cannot-execute-the-specified/m-p/389152#M2320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;yes, that limiation is a general Windows limitation, and documented in the release notes.&lt;/P&gt;&lt;P&gt;One workaround is to keep the path to the files/object files as short as possible.&lt;/P&gt;&lt;P&gt;Or to build some parts of the application as library (archive) and link with it.&lt;/P&gt;&lt;P&gt;The latest GNU ARM Eclipse plugins mention that there is a solution to that problem with using its own command interface, but I have not verified that one yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 19:12:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Linker-won-t-run-quot-The-system-cannot-execute-the-specified/m-p/389152#M2320</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2015-03-17T19:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Linker won't run: "The system cannot execute the specified program"</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Linker-won-t-run-quot-The-system-cannot-execute-the-specified/m-p/389153#M2321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Erich, I believe another workaround is here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/451443"&gt;Re: KSDK Linker Error - Command line too long&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm going to try it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I cannot do a "make clean" for the same reason I suppose (it says "filename or extension is too long.")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 19:51:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Linker-won-t-run-quot-The-system-cannot-execute-the-specified/m-p/389153#M2321</guid>
      <dc:creator>mike1974</dc:creator>
      <dc:date>2015-03-17T19:51:30Z</dc:date>
    </item>
  </channel>
</rss>

