<?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>i.MX ProcessorsのトピックRe: [iMX6SLEVK] Executable generated using arm-poky-linux-gnueabi toolchain is giving -sh: ./testApp: No such file or directory</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX6SLEVK-Executable-generated-using-arm-poky-linux-gnueabi/m-p/454290#M70720</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;Please try following steps&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;source /opt/poky/1.7/&lt;STRONG&gt;environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;$CC -o helloworld helloworld.c &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Sep 2015 06:13:40 GMT</pubDate>
    <dc:creator>BiyongSUN</dc:creator>
    <dc:date>2015-09-01T06:13:40Z</dc:date>
    <item>
      <title>[iMX6SLEVK] Executable generated using arm-poky-linux-gnueabi toolchain is giving -sh: ./testApp: No such file or directory</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6SLEVK-Executable-generated-using-arm-poky-linux-gnueabi/m-p/454286#M70716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the &lt;STRONG&gt;arm-poky-linux-gnueabi&lt;/STRONG&gt; toolchain to cross-compile a application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to cross-compile the application. But when I run the generated executable, i.e.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ./testApp&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the below error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -sh: ./testApp: No such file or directory&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to search reason for this but I am not able to find one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had such issue with one of my other demoApp whose executable was getting generated as &lt;STRONG&gt;demoApp.bin&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;I was getting the same error mentioned above.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;But then, I just generated the executable as &lt;STRONG&gt;demoApp.out&lt;/STRONG&gt; and it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to even do the same for the above, but I get the same error i.e. &lt;EM&gt;No such file or directory&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please do let me know if I am missing anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 11:49:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6SLEVK-Executable-generated-using-arm-poky-linux-gnueabi/m-p/454286#M70716</guid>
      <dc:creator>bhayani_sunny</dc:creator>
      <dc:date>2015-08-20T11:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: [iMX6SLEVK] Executable generated using arm-poky-linux-gnueabi toolchain is giving -sh: ./testApp: No such file or directory</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6SLEVK-Executable-generated-using-arm-poky-linux-gnueabi/m-p/454287#M70717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To specify the output filename, use &lt;CODE&gt;-o&lt;/CODE&gt; option:&lt;/P&gt;&lt;PRE class="color-example"&gt;&amp;gt; &lt;STRONG&gt;gcc -o hello.bin hello.c&lt;/STRONG&gt; 
&lt;SPAN class="color-comment"&gt;// Compile and link source file hello.c into executable hello.bin&lt;/SPAN&gt; 

$ &lt;STRONG&gt;./hello&lt;/STRONG&gt; 
&lt;SPAN class="color-comment"&gt;// Execute hello.bin under Bash, specifying the current path (./)

also check your CC PATH and permissions.

Regards

&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 13:40:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6SLEVK-Executable-generated-using-arm-poky-linux-gnueabi/m-p/454287#M70717</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2015-08-24T13:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: [iMX6SLEVK] Executable generated using arm-poky-linux-gnueabi toolchain is giving -sh: ./testApp: No such file or directory</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6SLEVK-Executable-generated-using-arm-poky-linux-gnueabi/m-p/454288#M70718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Bio_TICFSL,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I run the below script from my toolchain path:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;source /opt/poky/1.7/&lt;STRONG&gt;environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This setups all the environment variables required to CROSS_COMPILE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I mentioned previously, that I am able to generate either &lt;STRONG&gt;test_app.bin&lt;/STRONG&gt; or &lt;STRONG&gt;test_app.out&lt;/STRONG&gt; executable. But I am getting the below error when I try to run this app:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;EM&gt;No such file or directory&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be great if you can give any pointers regarding the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 01:59:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6SLEVK-Executable-generated-using-arm-poky-linux-gnueabi/m-p/454288#M70718</guid>
      <dc:creator>bhayani_sunny</dc:creator>
      <dc:date>2015-08-25T01:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: [iMX6SLEVK] Executable generated using arm-poky-linux-gnueabi toolchain is giving -sh: ./testApp: No such file or directory</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6SLEVK-Executable-generated-using-arm-poky-linux-gnueabi/m-p/454289#M70719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hello, Sunny !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt; &lt;/SPAN&gt;test_app.bin&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt; -&amp;nbsp; this binary file is intended to be copied to boot SD just as an image.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; it should be loaded by i.MX6 boot ROM. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt; &lt;/SPAN&gt;test_app.out - this is elf file, that may be loaded and run via Linux shell, assuming it has been built &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for Linux (non stand alone) environment. &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2015 05:24:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6SLEVK-Executable-generated-using-arm-poky-linux-gnueabi/m-p/454289#M70719</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2015-09-01T05:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: [iMX6SLEVK] Executable generated using arm-poky-linux-gnueabi toolchain is giving -sh: ./testApp: No such file or directory</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6SLEVK-Executable-generated-using-arm-poky-linux-gnueabi/m-p/454290#M70720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;Please try following steps&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;source /opt/poky/1.7/&lt;STRONG&gt;environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;$CC -o helloworld helloworld.c &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2015 06:13:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6SLEVK-Executable-generated-using-arm-poky-linux-gnueabi/m-p/454290#M70720</guid>
      <dc:creator>BiyongSUN</dc:creator>
      <dc:date>2015-09-01T06:13:40Z</dc:date>
    </item>
  </channel>
</rss>

