<?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: GCC Cross Compiler for Mac OS X/Darwin in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/GCC-Cross-Compiler-for-Mac-OS-X-Darwin/m-p/219571#M11154</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have updated this guide with more comprehensive support for building gcc on Linux systems. The new version is available at:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://pages.cs.wisc.edu/~klingens/crossgcc.pdf" rel="nofollow" target="_blank"&gt;http://pages.cs.wisc.edu/~klingens/crossgcc.pdf&lt;/A&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The rewritten guide is still under revision. Please let me know what parts are not clear. I will gladly accept comments. I would also be interested in hearing success/failure stories for different platforms, particularly Ubuntu and OS X 10.7.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 10 Sep 2011 12:33:20 GMT</pubDate>
    <dc:creator>naklingensmith</dc:creator>
    <dc:date>2011-09-10T12:33:20Z</dc:date>
    <item>
      <title>GCC Cross Compiler for Mac OS X/Darwin</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/GCC-Cross-Compiler-for-Mac-OS-X-Darwin/m-p/219567#M11150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have posted a guide on my website explaining how to build a cross compiler for gcc on Apple/Darwin platforms:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fhelium.sourceforge.net%2Fbootstrapinggcc.pdf" rel="nofollow" target="_blank"&gt;http://helium.sourceforge.net/bootstrapinggcc.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This needed to be done because the macports version of the gcc cross compiler is outdated (version 3.x), and it does not support v1 MCUs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Neil Klingensmith&lt;/P&gt;&lt;P&gt;Helium RTOS Development&amp;nbsp;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by Neil Klingensmith on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-10-05&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;06:12 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2009 00:10:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/GCC-Cross-Compiler-for-Mac-OS-X-Darwin/m-p/219567#M11150</guid>
      <dc:creator>NeilKlingensmit</dc:creator>
      <dc:date>2009-10-06T00:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: GCC Cross Compiler for Mac OS X/Darwin</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/GCC-Cross-Compiler-for-Mac-OS-X-Darwin/m-p/219568#M11151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried following your instructions but I ran into some compile errors and I'm not sure what to do about them to allow me to continue. I'll be compiling code for the coldfire 54453 with the RTOS MQX. I got this after executing:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cd binutils-2.19.1&lt;/P&gt;&lt;P&gt;sudo mkdir build&lt;/P&gt;&lt;P&gt;cd build&lt;/P&gt;&lt;P&gt;sudo ../configure --target=m68k-elf --prefix=/opt/local/m68k-elftools --enable-interwork --enable-multilib --with-gnu-as --with-gnu-ld --disable-nls&lt;/P&gt;&lt;P&gt;sudo make&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cc1: warnings being treated as errors&lt;BR /&gt;../../binutils/strings.c: In function ‘strings_file’:&lt;BR /&gt;../../binutils/strings.c:407: warning: ‘stat64’ is deprecated (declared at /usr/include/sys/stat.h:465)&lt;BR /&gt;make[4]: *** [strings.o] Error 1&lt;BR /&gt;make[3]: *** [all-recursive] Error 1&lt;BR /&gt;make[2]: *** [all] Error 2&lt;BR /&gt;make[1]: *** [all-binutils] Error 2&lt;BR /&gt;make: *** [all] Error 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I initially tried using the versions you used in your document but that also gave me errors.&amp;nbsp; I'm running on Snow Leopard 10.6.5 with XCode installed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 01:39:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/GCC-Cross-Compiler-for-Mac-OS-X-Darwin/m-p/219568#M11151</guid>
      <dc:creator>strawbot</dc:creator>
      <dc:date>2010-12-16T01:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: GCC Cross Compiler for Mac OS X/Darwin</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/GCC-Cross-Compiler-for-Mac-OS-X-Darwin/m-p/219569#M11152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Strawbot, did you ever solve your Make errors building GCC for OS X?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Apr 2011 09:44:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/GCC-Cross-Compiler-for-Mac-OS-X-Darwin/m-p/219569#M11152</guid>
      <dc:creator>robertrau</dc:creator>
      <dc:date>2011-04-17T09:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: GCC Cross Compiler for Mac OS X/Darwin</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/GCC-Cross-Compiler-for-Mac-OS-X-Darwin/m-p/219570#M11153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was not able to reproduce this error. I used the current versions of binutils and gcc:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mirrors.kernel.org/gnu/binutils/binutils-2.21.tar.gz" rel="nofollow" target="_blank"&gt;binutils-2.21.tar.gz&lt;/A&gt;﻿&lt;/P&gt;&lt;P&gt;&lt;A href="http://mirrors.kernel.org/gnu/gcc/gcc-4.5.2/" rel="nofollow" target="_blank"&gt;gcc-4.5.2/&lt;/A&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I noticed that if you attempt to copy and paste the configure commands from the PDF file to the command line, the configure script may fail. In order to make it work, you must type the entire command verbatim at the command line. The PDF file has line breaks between each line that will cause bash to interpret each line as a separate command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if you experience further problems with building gcc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2011 22:53:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/GCC-Cross-Compiler-for-Mac-OS-X-Darwin/m-p/219570#M11153</guid>
      <dc:creator>naklingensmith</dc:creator>
      <dc:date>2011-06-15T22:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: GCC Cross Compiler for Mac OS X/Darwin</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/GCC-Cross-Compiler-for-Mac-OS-X-Darwin/m-p/219571#M11154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have updated this guide with more comprehensive support for building gcc on Linux systems. The new version is available at:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://pages.cs.wisc.edu/~klingens/crossgcc.pdf" rel="nofollow" target="_blank"&gt;http://pages.cs.wisc.edu/~klingens/crossgcc.pdf&lt;/A&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The rewritten guide is still under revision. Please let me know what parts are not clear. I will gladly accept comments. I would also be interested in hearing success/failure stories for different platforms, particularly Ubuntu and OS X 10.7.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Sep 2011 12:33:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/GCC-Cross-Compiler-for-Mac-OS-X-Darwin/m-p/219571#M11154</guid>
      <dc:creator>naklingensmith</dc:creator>
      <dc:date>2011-09-10T12:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: GCC Cross Compiler for Mac OS X/Darwin</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/GCC-Cross-Compiler-for-Mac-OS-X-Darwin/m-p/219572#M11155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neil,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you tried a single pass build with newlib, mpc, mpfr etc ? If you link these packages into the top level of gcc you can build the whole tool chain in a single pass. You can find an example in the a build-script for the NIOS2 tool chain for RTEMS that I used here&amp;nbsp;&lt;A href="http://www.rtems.org/ftp/pub/rtems/people/chrisj/nios2/build-tools.sh" rel="nofollow" target="_blank"&gt;http://www.rtems.org/ftp/pub/rtems/people/chrisj/nios2/build-tools.sh&lt;/A&gt;﻿.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The mpc and other package can be added in a similar manner and built as part of building gcc.&amp;nbsp;The NIOS2 tool chain is an older version﻿ so does not need them. If you have any questions emai on my RTEMS address.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2011 05:03:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/GCC-Cross-Compiler-for-Mac-OS-X-Darwin/m-p/219572#M11155</guid>
      <dc:creator>ChrisJohns</dc:creator>
      <dc:date>2011-09-12T05:03:44Z</dc:date>
    </item>
  </channel>
</rss>

