<?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: aarch64-linux-gnu-gcc  vs aarch64-poky-linux for IMX8M Mini based custom hardware in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/aarch64-linux-gnu-gcc-vs-aarch64-poky-linux-for-IMX8M-Mini-based/m-p/1010667#M149686</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Recent Linux BSP L4.19.35 supports the GCC 8.3 toolchain.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;A class="link-titled" href="https://www.nxp.com/webapp/Download?colCode=L4.19.35_1.1.0_LINUX_DOCS" title="https://www.nxp.com/webapp/Download?colCode=L4.19.35_1.1.0_LINUX_DOCS"&gt;https://www.nxp.com/webapp/Download?colCode=L4.19.35_1.1.0_LINUX_DOCS&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; Generally it is possible to use different toolchains for simple applications, but using &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;the SDK approach is more preferable, since it provides proper environment for development.&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Have a great day,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Yuri&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;-------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Note:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Mar 2020 03:21:15 GMT</pubDate>
    <dc:creator>Yuri</dc:creator>
    <dc:date>2020-03-25T03:21:15Z</dc:date>
    <item>
      <title>aarch64-linux-gnu-gcc  vs aarch64-poky-linux for IMX8M Mini based custom hardware</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/aarch64-linux-gnu-gcc-vs-aarch64-poky-linux-for-IMX8M-Mini-based/m-p/1010666#M149685</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;We are working with IMX8M Mini based custom hardware.&lt;/P&gt;&lt;P&gt;when we are working with IMX8M Mini EVK, we build the toolchain and&lt;/P&gt;&lt;P&gt;for cross compiling and building our test application we sourced the following tools.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ . /opt/fsl-imx-xwayland/4.9.51-mx8-ga/environment-setup-aarch64-poky-linux&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;our build is fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is IMX8M Mini is ARMv8 - 64bit arcchitecture.&lt;/P&gt;&lt;P&gt;We believe we can cross-compile and build our test application using&amp;nbsp;&lt;SPAN style="font-size: 11.0pt;"&gt;aarch64-linux-gnu-gcc&amp;nbsp; also.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;we believe efficiency of the&amp;nbsp; output file may vary.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;considering the developmet hardware is IMX8M Mini based platform. Could you please suggest and recommend which cross compiler to use and why.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Thanks in Advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Sreedhar&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2020 00:12:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/aarch64-linux-gnu-gcc-vs-aarch64-poky-linux-for-IMX8M-Mini-based/m-p/1010666#M149685</guid>
      <dc:creator>sreedhar_appala</dc:creator>
      <dc:date>2020-03-25T00:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: aarch64-linux-gnu-gcc  vs aarch64-poky-linux for IMX8M Mini based custom hardware</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/aarch64-linux-gnu-gcc-vs-aarch64-poky-linux-for-IMX8M-Mini-based/m-p/1010667#M149686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Recent Linux BSP L4.19.35 supports the GCC 8.3 toolchain.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;A class="link-titled" href="https://www.nxp.com/webapp/Download?colCode=L4.19.35_1.1.0_LINUX_DOCS" title="https://www.nxp.com/webapp/Download?colCode=L4.19.35_1.1.0_LINUX_DOCS"&gt;https://www.nxp.com/webapp/Download?colCode=L4.19.35_1.1.0_LINUX_DOCS&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; Generally it is possible to use different toolchains for simple applications, but using &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;the SDK approach is more preferable, since it provides proper environment for development.&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Have a great day,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Yuri&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;-------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Note:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2020 03:21:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/aarch64-linux-gnu-gcc-vs-aarch64-poky-linux-for-IMX8M-Mini-based/m-p/1010667#M149686</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2020-03-25T03:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: aarch64-linux-gnu-gcc  vs aarch64-poky-linux for IMX8M Mini based custom hardware</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/aarch64-linux-gnu-gcc-vs-aarch64-poky-linux-for-IMX8M-Mini-based/m-p/1010668#M149687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the quick reply and details.&lt;/P&gt;&lt;P&gt;We are using linaro toolchain "gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu" earlier.&lt;/P&gt;&lt;P&gt;Do you have any benchmark details for the different tool chains atleast for the linaro based toolchains and SDK based environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is very generic, kindly let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you, Sreedhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2020 08:46:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/aarch64-linux-gnu-gcc-vs-aarch64-poky-linux-for-IMX8M-Mini-based/m-p/1010668#M149687</guid>
      <dc:creator>sreedhar_appala</dc:creator>
      <dc:date>2020-03-25T08:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: aarch64-linux-gnu-gcc  vs aarch64-poky-linux for IMX8M Mini based custom hardware</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/aarch64-linux-gnu-gcc-vs-aarch64-poky-linux-for-IMX8M-Mini-based/m-p/1010669#M149688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/sreedhar.appalayagari@sony.com"&gt;sreedhar.appalayagari@sony.com&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I've not found internal comparison considerations about the toolchains, sorry :-(&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2020 08:09:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/aarch64-linux-gnu-gcc-vs-aarch64-poky-linux-for-IMX8M-Mini-based/m-p/1010669#M149688</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2020-03-26T08:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: aarch64-linux-gnu-gcc  vs aarch64-poky-linux for IMX8M Mini based custom hardware</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/aarch64-linux-gnu-gcc-vs-aarch64-poky-linux-for-IMX8M-Mini-based/m-p/1010670#M149689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Yuri !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2020 11:08:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/aarch64-linux-gnu-gcc-vs-aarch64-poky-linux-for-IMX8M-Mini-based/m-p/1010670#M149689</guid>
      <dc:creator>sreedhar_appala</dc:creator>
      <dc:date>2020-03-26T11:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: aarch64-linux-gnu-gcc  vs aarch64-poky-linux for IMX8M Mini based custom hardware</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/aarch64-linux-gnu-gcc-vs-aarch64-poky-linux-for-IMX8M-Mini-based/m-p/1170211#M163729</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/77095"&gt;@sreedhar_appala&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/1941"&gt;@Yuri&lt;/a&gt;&amp;nbsp; I am also working on&amp;nbsp;iMX8M embedded board.&lt;/P&gt;&lt;P&gt;I have compiled the image and and cross compiling tool-chain for the same successfully using the&amp;nbsp;&lt;STRONG&gt;bitbake&amp;nbsp;meta-toolchain&lt;/STRONG&gt; which has generated &lt;STRONG&gt;fsl-imx-xwayland-glibc-x86_64-meta-toolchain-aarch64-toolchain-4.14-sumo.sh&lt;/STRONG&gt;&amp;nbsp;to use for cross-compiling .c based project.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I am not aware of how I can use it in makefile based project. Here is my simple make file which is generating .exe file for me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;# Compiler
CC = gcc

# Path to static library source (testlib.a)
LDFLAGS=-L../../testLIB/lib
LIBS=-lpthread

# C compiler flags (-c -Wall)
CFLAGS= -g -Wall

ifeq ($(OS),Windows_NT)
  RM=cmd \/C del
else
  RM=rm -f
endif

# Source files
SRCS = $(wildcard *.c)

# Object Files
OBJS = $(SRCS:.c=.o)

# Executable File
EXECUTABLE = targetImage.exe

.PHONY: depend clean

all:  myprog

myprog: $(OBJS)
	$(CC) $(CFLAGS) -o $(EXECUTABLE) $^ $(LDFLAGS) $(LIBS)

# Clean .o and .exe files form the respective directories
# make clean
clean:
	$(RM) $(OBJS) $(EXECUTABLE)

# Read source files and create dependencies
depend: $(SRCS)
	makedepend $(INCLUDES) $^&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But now I want to update it to generate .exe which can be run on yocto board. Can you please guide my what I can I do to achieve the same Or if you can share me some examples or documents which I can refer to understand the same would be great help.&amp;nbsp; Thanks in advance to both of you. Please let me know if I missed to add any other required info. I am very new to this and I am stuck with this step.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 08:38:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/aarch64-linux-gnu-gcc-vs-aarch64-poky-linux-for-IMX8M-Mini-based/m-p/1170211#M163729</guid>
      <dc:creator>althummar</dc:creator>
      <dc:date>2020-10-20T08:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: aarch64-linux-gnu-gcc  vs aarch64-poky-linux for IMX8M Mini based custom hardware</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/aarch64-linux-gnu-gcc-vs-aarch64-poky-linux-for-IMX8M-Mini-based/m-p/1423747#M187873</link>
      <description>&lt;P&gt;&lt;SPAN&gt;can you please share how to install "environment-setup-aarch64-poky-linux" toolchain for iMX 8M mini&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2022 07:43:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/aarch64-linux-gnu-gcc-vs-aarch64-poky-linux-for-IMX8M-Mini-based/m-p/1423747#M187873</guid>
      <dc:creator>PavanRaut</dc:creator>
      <dc:date>2022-03-07T07:43:12Z</dc:date>
    </item>
  </channel>
</rss>

