<?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: Crosscompiling C/C++ code for Android on iMX8M Mini EVK</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Crosscompiling-C-C-code-for-Android-on-iMX8M-Mini-EVK/m-p/943873#M141174</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A _jive_internal="true" class="" data-avatarid="26872" data-externalid="" data-online="false" data-presence="null" data-userid="11091" data-username="jimmychan" href="https://community.nxp.com/people/jimmychan"&gt;jimmychan&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I refer following link to cross compile and execute my C code on Android platform.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://medium.com/@levioza/cross-compiling-c-c-native-external-libraries-for-android-e100d9b2d987" title="https://medium.com/@levioza/cross-compiling-c-c-native-external-libraries-for-android-e100d9b2d987"&gt;https://medium.com/@levioza/cross-compiling-c-c-native-external-libraries-for-android-e100d9b2d987&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Jun 2019 07:31:37 GMT</pubDate>
    <dc:creator>abhijit_thorat</dc:creator>
    <dc:date>2019-06-25T07:31:37Z</dc:date>
    <item>
      <title>Crosscompiling C/C++ code for Android on iMX8M Mini EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Crosscompiling-C-C-code-for-Android-on-iMX8M-Mini-EVK/m-p/943871#M141172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;I am successfully able to use Android NDK and run and execute sample hello app on this iMX board.&lt;OL&gt;&lt;LI&gt;But instead of using NDK i want to cross compile C / C++ code using some tool-chain or some other method and execute it it on target hardware i.e iMX8M Mini EVK. &lt;BR /&gt;As per my understanding on embedded Linux we need tool-chains and sysroot to cross compile any program or libraries but i am new to Embedded Android so i am not understanding how to do the same thing in Android. &lt;BR /&gt;&lt;STRONG&gt;Basically I want to know how to cross compile C code for android without NDK&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;Also After my boards boots up when i try to execute basic commands such as &lt;STRONG&gt;sudo&lt;/STRONG&gt; or &lt;STRONG&gt;vi&lt;/STRONG&gt; or &lt;STRONG&gt;vim&lt;/STRONG&gt; or &lt;STRONG&gt;dmesg&lt;/STRONG&gt; on iMX8M mini then it gives me errors like - su: invalid uid/gid 'dmesg'&amp;nbsp;&amp;nbsp;&amp;nbsp; or commands not found etc.. Even GCC is also not available i think,&lt;/LI&gt;&lt;/OL&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please guide me?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Abhijit&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2019 05:46:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Crosscompiling-C-C-code-for-Android-on-iMX8M-Mini-EVK/m-p/943871#M141172</guid>
      <dc:creator>abhijit_thorat</dc:creator>
      <dc:date>2019-06-19T05:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Crosscompiling C/C++ code for Android on iMX8M Mini EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Crosscompiling-C-C-code-for-Android-on-iMX8M-Mini-EVK/m-p/943872#M141173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please refer to the Android user's guide 3.3 and 3.4.&lt;/P&gt;&lt;P&gt;The document of Android BSP can be downloaded from here:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/support/developer-resources/evaluation-and-development-boards/i.mx-evaluation-and-development-boards/i.mx-software-and-development-tool:IMX-SW" title="https://www.nxp.com/support/developer-resources/evaluation-and-development-boards/i.mx-evaluation-and-development-boards/i.mx-software-and-development-tool:IMX-SW"&gt;i.MX Software | NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. &lt;A class="" href="https://www.nxp.com/docs/en/supporting-information/android_p9.0.0_2.0.1-ga_docs.zip"&gt;Android P9.0.0_2.0.1 Documentation&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jun 2019 12:58:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Crosscompiling-C-C-code-for-Android-on-iMX8M-Mini-EVK/m-p/943872#M141173</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2019-06-24T12:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: Crosscompiling C/C++ code for Android on iMX8M Mini EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Crosscompiling-C-C-code-for-Android-on-iMX8M-Mini-EVK/m-p/943873#M141174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A _jive_internal="true" class="" data-avatarid="26872" data-externalid="" data-online="false" data-presence="null" data-userid="11091" data-username="jimmychan" href="https://community.nxp.com/people/jimmychan"&gt;jimmychan&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I refer following link to cross compile and execute my C code on Android platform.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://medium.com/@levioza/cross-compiling-c-c-native-external-libraries-for-android-e100d9b2d987" title="https://medium.com/@levioza/cross-compiling-c-c-native-external-libraries-for-android-e100d9b2d987"&gt;https://medium.com/@levioza/cross-compiling-c-c-native-external-libraries-for-android-e100d9b2d987&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jun 2019 07:31:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Crosscompiling-C-C-code-for-Android-on-iMX8M-Mini-EVK/m-p/943873#M141174</guid>
      <dc:creator>abhijit_thorat</dc:creator>
      <dc:date>2019-06-25T07:31:37Z</dc:date>
    </item>
  </channel>
</rss>

