<?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: How to change the compiler to aarch64-linux-gnu  when building the imx8mp bsp</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-change-the-compiler-to-aarch64-linux-gnu-when-building/m-p/1707845#M211081</link>
    <description>&lt;P&gt;Certainly, you can designate an alternative compiler version while constructing the imx8mp bsp. Achieve this by adjusting the TARGET_PREFIX variable within your local.conf file. This variable determines the toolchain prefix. In your situation, set it as aarch64-linux-gnu-.&lt;/P&gt;&lt;P&gt;Follow these steps:&lt;/P&gt;&lt;P&gt;1. Open your local.conf file using a text editor.&lt;BR /&gt;2. Locate the line beginning with #TARGET_PREFIX, remove the # to uncomment it.&lt;BR /&gt;3. Change the TARGET_PREFIX value to aarch64-linux-gnu-&lt;BR /&gt;4. Save and close the file.&lt;BR /&gt;5. Re-execute your build command.&lt;/P&gt;&lt;P&gt;After implementing the change, your local.conf line should appear as follows:&lt;BR /&gt;&lt;BR /&gt;TARGET_PREFIX = 'aarch64-linux-gnu-'&lt;BR /&gt;&lt;BR /&gt;Note that altering the compiler might cause build errors if the new compiler isn't fully compatible with the source code. Only switch compilers if you're certain of compatibility.&lt;/P&gt;&lt;P&gt;Keep in mind, the local.conf file resides in the build directory generated upon running imx-setup-release.sh script. Run this script before modifying the local.conf file.&lt;/P&gt;&lt;P&gt;Run the imx-setup-release.sh script using this command:&lt;BR /&gt;&lt;BR /&gt;MACHINE=imx8mpevk DISTRO=fsl-imx-wayland source ./imx-setup-release.sh -b build-wayland&lt;BR /&gt;&lt;BR /&gt;Upon running the command, the build directory will form, enabling local.conf modification.&lt;/P&gt;</description>
    <pubDate>Sun, 20 Aug 2023 11:42:05 GMT</pubDate>
    <dc:creator>ramprakash08</dc:creator>
    <dc:date>2023-08-20T11:42:05Z</dc:date>
    <item>
      <title>How to change the compiler to aarch64-linux-gnu  when building the imx8mp bsp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-change-the-compiler-to-aarch64-linux-gnu-when-building/m-p/1707801#M211078</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Can I specify a different version of the compiler&amp;nbsp; (such as aarch64-Linux-gnu)&amp;nbsp; when compiling the imx8mp bsp using the following command ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;MACHINE=imx8mpevk DISTRO=fsl-imx-wayland source ./imx-setup-release.sh -b build-wayland&lt;/P&gt;&lt;P&gt;Bitbake imx-image-full&lt;/P&gt;&lt;P&gt;It uses aarch64-poky-linux-gcc when building the bsp,&amp;nbsp; I don't know how to change it.&lt;/P&gt;&lt;P&gt;Thanks !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Aug 2023 13:27:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-change-the-compiler-to-aarch64-linux-gnu-when-building/m-p/1707801#M211078</guid>
      <dc:creator>newplough</dc:creator>
      <dc:date>2023-08-19T13:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the compiler to aarch64-linux-gnu  when building the imx8mp bsp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-change-the-compiler-to-aarch64-linux-gnu-when-building/m-p/1707845#M211081</link>
      <description>&lt;P&gt;Certainly, you can designate an alternative compiler version while constructing the imx8mp bsp. Achieve this by adjusting the TARGET_PREFIX variable within your local.conf file. This variable determines the toolchain prefix. In your situation, set it as aarch64-linux-gnu-.&lt;/P&gt;&lt;P&gt;Follow these steps:&lt;/P&gt;&lt;P&gt;1. Open your local.conf file using a text editor.&lt;BR /&gt;2. Locate the line beginning with #TARGET_PREFIX, remove the # to uncomment it.&lt;BR /&gt;3. Change the TARGET_PREFIX value to aarch64-linux-gnu-&lt;BR /&gt;4. Save and close the file.&lt;BR /&gt;5. Re-execute your build command.&lt;/P&gt;&lt;P&gt;After implementing the change, your local.conf line should appear as follows:&lt;BR /&gt;&lt;BR /&gt;TARGET_PREFIX = 'aarch64-linux-gnu-'&lt;BR /&gt;&lt;BR /&gt;Note that altering the compiler might cause build errors if the new compiler isn't fully compatible with the source code. Only switch compilers if you're certain of compatibility.&lt;/P&gt;&lt;P&gt;Keep in mind, the local.conf file resides in the build directory generated upon running imx-setup-release.sh script. Run this script before modifying the local.conf file.&lt;/P&gt;&lt;P&gt;Run the imx-setup-release.sh script using this command:&lt;BR /&gt;&lt;BR /&gt;MACHINE=imx8mpevk DISTRO=fsl-imx-wayland source ./imx-setup-release.sh -b build-wayland&lt;BR /&gt;&lt;BR /&gt;Upon running the command, the build directory will form, enabling local.conf modification.&lt;/P&gt;</description>
      <pubDate>Sun, 20 Aug 2023 11:42:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-change-the-compiler-to-aarch64-linux-gnu-when-building/m-p/1707845#M211081</guid>
      <dc:creator>ramprakash08</dc:creator>
      <dc:date>2023-08-20T11:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the compiler to aarch64-linux-gnu  when building the imx8mp bsp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-change-the-compiler-to-aarch64-linux-gnu-when-building/m-p/1707874#M211085</link>
      <description>&lt;P&gt;Thank you !&lt;/P&gt;</description>
      <pubDate>Sun, 20 Aug 2023 23:00:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-change-the-compiler-to-aarch64-linux-gnu-when-building/m-p/1707874#M211085</guid>
      <dc:creator>newplough</dc:creator>
      <dc:date>2023-08-20T23:00:27Z</dc:date>
    </item>
  </channel>
</rss>

