<?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: Cross compiler for ARMv7 error</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Cross-compiler-for-ARMv7-error/m-p/287598#M34170</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;before running that command, launch the ltib shell&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;./ltib -m shell # This will set up the correct toolchain path.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then move to the u-boot folder and run the make command again. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Jul 2013 18:47:26 GMT</pubDate>
    <dc:creator>LeonardoSandova</dc:creator>
    <dc:date>2013-07-23T18:47:26Z</dc:date>
    <item>
      <title>Cross compiler for ARMv7 error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cross-compiler-for-ARMv7-error/m-p/287597#M34169</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 got compiling errors when I built U-boot.2009.08. The error message is below that it seems cross-compiler issue. Does any one know what it mean and how to fix? I am pretty new to LTIB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~/u-boot-2009.08$ sudo make CROSS_COMPILE=arm-fsl-linux-gnueabi- mx6q_sabrelite_config&lt;BR /&gt;[sudo] password for byang: &lt;BR /&gt;/bin/bash: arm-fsl-linux-gnueabi-gcc: command not found&lt;BR /&gt;/bin/bash: arm-fsl-linux-gnueabi-gcc: command not found&lt;BR /&gt;dirname: missing operand&lt;BR /&gt;Try `dirname --help' for more information.&lt;BR /&gt;Generating include/autoconf.mk&lt;BR /&gt;/bin/bash: line 3: arm-fsl-linux-gnueabi-gcc: command not found&lt;BR /&gt;/bin/bash: arm-fsl-linux-gnueabi-gcc: command not found&lt;BR /&gt;dirname: missing operand&lt;BR /&gt;Try `dirname --help' for more information.&lt;BR /&gt;Generating include/autoconf.mk.dep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2013 18:42:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cross-compiler-for-ARMv7-error/m-p/287597#M34169</guid>
      <dc:creator>billyang</dc:creator>
      <dc:date>2013-07-23T18:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Cross compiler for ARMv7 error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cross-compiler-for-ARMv7-error/m-p/287598#M34170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;before running that command, launch the ltib shell&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;./ltib -m shell # This will set up the correct toolchain path.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then move to the u-boot folder and run the make command again. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2013 18:47:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cross-compiler-for-ARMv7-error/m-p/287598#M34170</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-07-23T18:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: Cross compiler for ARMv7 error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cross-compiler-for-ARMv7-error/m-p/287599#M34171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Leo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for you replying. I followed your hint and run ./ltib -m shell.&lt;/P&gt;&lt;P&gt;Under shell prompt LTIB&amp;gt; make clean&lt;/P&gt;&lt;P&gt;LTIB&amp;gt;make CROSS_COMPILE=arm-fsl-linux-gnueabi- mx6q_sabrelite_config&lt;/P&gt;&lt;P&gt;LTIB&amp;gt;make CROSS_COMPILE=arm-fsl-gnueabi-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It built u-boot.bin. But If I exit the shell LTIB and under bash $. The build will fail again with the same error.&lt;/P&gt;&lt;P&gt;~/u-boot-2009.08$ sudo make CROSS_COMPILE=arm-fsl-linux-gnueabi- mx6q_sabrelite_config&lt;BR /&gt;[sudo] password for byang: &lt;BR /&gt;/bin/bash: arm-fsl-linux-gnueabi-gcc: command not found&lt;BR /&gt;/bin/bash: arm-fsl-linux-gnueabi-gcc: command not found&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please explain why I have to do a build under LTIB shell? This is not conveniently way to build u-boot, kernel and modules.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2013 20:20:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cross-compiler-for-ARMv7-error/m-p/287599#M34171</guid>
      <dc:creator>billyang</dc:creator>
      <dc:date>2013-07-23T20:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Cross compiler for ARMv7 error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cross-compiler-for-ARMv7-error/m-p/287600#M34172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On the ltib's shell, look at the PATH variable, then exit, and set the toolchain path to the PATH variable, like in the above example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;$ ./ltib -m shell&lt;/P&gt;
&lt;P&gt;Entering ltib shell mode, type 'exit' to quit&lt;/P&gt;
&lt;P&gt;LTIB&amp;gt; echo $PATH&lt;/P&gt;
&lt;P&gt;/home/b42214/fsl/BSP/src/linux/L3.0.35_4.0.0_130424/ltib/bin:/opt/freescale/ltib/usr/spoof:/home/b42214/fsl/BSP/src/linux/L3.0.35_4.0.0_130424/ltib/bin:/opt/freescale/ltib/usr/bin:/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin&lt;/P&gt;
&lt;P&gt;LTIB&amp;gt; exit&lt;/P&gt;
&lt;P&gt;exit&lt;/P&gt;
&lt;P&gt;$ cd rpm/BUILD/linux&lt;/P&gt;
&lt;P&gt;linux$ PATH=$PATH:/opt/freescale/ltib/usr/bin:/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin&lt;/P&gt;
&lt;P&gt;linux$ make ARCH=arm CROSS_COMPILE=arm-fsl-linux-gnueabi- imx6_defconfig&lt;/P&gt;
&lt;P&gt;#&lt;/P&gt;
&lt;P&gt;# configuration written to .config&lt;/P&gt;
&lt;P&gt;#&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2013 20:32:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cross-compiler-for-ARMv7-error/m-p/287600#M34172</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-07-23T20:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Cross compiler for ARMv7 error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cross-compiler-for-ARMv7-error/m-p/287601#M34173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Leo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use file command to search it with the PATH. It showed up.&lt;/P&gt;&lt;P&gt;byang@byang-EP45T-UD3P:~$ file /opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-gcc&lt;BR /&gt;/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-gcc: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.0, stripped&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if I use file command without PATH. It showed error said Not such file or directory.&lt;/P&gt;&lt;P&gt;byang@byang-EP45T-UD3P:~$ file arm-none-linux-gnueabi-gcc&lt;BR /&gt;arm-none-linux-gnueabi-gcc: ERROR: cannot open `arm-none-linux-gnueabi-gcc' (No such file or directory)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had "export PATH=/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/:$PATH" and I also edited the .bashrc file to add the PATH. But it still failed with No such file or directory error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder if you have any idea to fix this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2013 20:32:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cross-compiler-for-ARMv7-error/m-p/287601#M34173</guid>
      <dc:creator>billyang</dc:creator>
      <dc:date>2013-07-23T20:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Cross compiler for ARMv7 error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cross-compiler-for-ARMv7-error/m-p/287602#M34174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Leo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can compile everything under LTIB as followed your instructions above. But if I exit LTIB folder and change directory to others, it still failed to compile with the same errors as below. I wonder if you can help me to figure out this problem. I have added export CROSS_COMPILE=/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin to .bashrc file, but it still failed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;byang@byang-EP45T-UD3P:~/u-boot-imx6$ sudo make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- nitrogen6q_config&lt;BR /&gt;/bin/bash: arm-none-linux-gnueabi-gcc: command not found&lt;BR /&gt;/bin/bash: arm-none-linux-gnueabi-gcc: command not found&lt;BR /&gt;dirname: missing operand&lt;BR /&gt;Try `dirname --help' for more information.&lt;BR /&gt;Generating include/autoconf.mk&lt;BR /&gt;/bin/bash: line 3: arm-none-linux-gnueabi-gcc: command not found&lt;BR /&gt;Generating include/autoconf.mk.dep&lt;BR /&gt;/bin/bash: line 3: arm-none-linux-gnueabi-gcc: command not found&lt;BR /&gt;/bin/bash: arm-none-linux-gnueabi-gcc: command not found&lt;BR /&gt;/bin/bash: arm-none-linux-gnueabi-gcc: command not found&lt;BR /&gt;dirname: missing operand&lt;BR /&gt;Try `dirname --help' for more information.&lt;BR /&gt;Configuring for nitrogen6q - Board: nitrogen6x, Options: IMX_CONFIG=board/boundary/nitrogen6x/nitrogen6q.cfg,MX6Q,DDR_MB=1024&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I echo $PATH and got the followings.&lt;/P&gt;&lt;P&gt;byang@byang-EP45T-UD3P:~/u-boot-imx6$ echo $PATH&lt;BR /&gt;/home/byang/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/arm-fsl-linux-gnueabi/bin:/opt/freescale/ltib/usr/bin:/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 23:06:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cross-compiler-for-ARMv7-error/m-p/287602#M34174</guid>
      <dc:creator>billyang</dc:creator>
      <dc:date>2013-08-01T23:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Cross compiler for ARMv7 error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cross-compiler-for-ARMv7-error/m-p/287603#M34175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bill,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that is strange, you are doing the correct steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What OS and shell are you using? to know the shell, type echo $0. Also, open a bash session, just type 'bash' before calling make.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Things to check:&lt;/P&gt;&lt;P&gt;1. Make sure your toolchain files have execution permission&lt;/P&gt;&lt;P&gt;2. Try to call the compiler manually (e.g arm-....-gcc helloworld.c)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, can you try using another toolchain? Yocto has one (https://community.freescale.com/docs/DOC-95264)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2013 02:59:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cross-compiler-for-ARMv7-error/m-p/287603#M34175</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-08-02T02:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Cross compiler for ARMv7 error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cross-compiler-for-ARMv7-error/m-p/287604#M34176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bill&lt;/P&gt;&lt;P&gt;Had your issue got resolved? If yes, we are going to close the discussion in 3 days. If you still need help, please feel &lt;/P&gt;&lt;P&gt;free to reply with an update to this discussion.&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Yixing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 06:53:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cross-compiler-for-ARMv7-error/m-p/287604#M34176</guid>
      <dc:creator>YixingKong</dc:creator>
      <dc:date>2014-02-20T06:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: Cross compiler for ARMv7 error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cross-compiler-for-ARMv7-error/m-p/287605#M34177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bill&lt;/P&gt;&lt;P&gt;This discussion is closed since no activity. If you still need help, please feel free to reply with an update to this &lt;/P&gt;&lt;P&gt;discussion, or create another discussion.&lt;BR /&gt;Thanks,&lt;BR /&gt;Yixing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 06:32:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cross-compiler-for-ARMv7-error/m-p/287605#M34177</guid>
      <dc:creator>YixingKong</dc:creator>
      <dc:date>2014-02-25T06:32:19Z</dc:date>
    </item>
  </channel>
</rss>

