<meta http-equiv="content-type" content="text/html; charset=utf-8">It's cleverly hidden amongst the gcc tarballs:<div><br><div><a href="http://www.rtems.org/ftp/pub/rtems/mingw32/4.10/rtems-4.10-powerpc-rtems4.10-gcc/rtems-4.10-powerpc-rtems4.10-newlib-1.18.0-17.tar.bz2">http://www.rtems.org/ftp/pub/rtems/mingw32/4.10/rtems-4.10-powerpc-rtems4.10-gcc/rtems-4.10-powerpc-rtems4.10-newlib-1.18.0-17.tar.bz2</a></div>

<div><br></div><div><br><br><div class="gmail_quote">On Thu, Oct 21, 2010 at 7:06 AM, Sam Lost <span dir="ltr"><<a href="mailto:slostuk@gmail.com">slostuk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div>Many Thanks for your help this morning, I am having some trouble locating the following file</div>
<div> </div>
<div>rtems-4.10-powerpc-rtems4.10-newlib-1.18.0-17.tar.bz2<br><br>Where might a locate this file.</div>
<div> </div>
<div>Regards</div>
<div> </div>
<div>William<br><br></div>
<div class="gmail_quote">On Thu, Oct 21, 2010 at 10:15 AM, Chris Johns <span dir="ltr"><<a href="mailto:chrisj@rtems.org" target="_blank">chrisj@rtems.org</a>></span> wrote:<br>
<blockquote style="border-left:#ccc 1px solid;margin:0px 0px 0px 0.8ex;padding-left:1ex" class="gmail_quote">
<div>On 21/10/10 12:24 AM, Sam Lost wrote:<br></div>
<div>
<blockquote style="border-left:#ccc 1px solid;margin:0px 0px 0px 0.8ex;padding-left:1ex" class="gmail_quote">I would be happy to use 4.10 however, the link given in the following<br>document is incorrect:<br></blockquote>


<br></div>Ok lets work on 4.10. 
<div><br><br>
<blockquote style="border-left:#ccc 1px solid;margin:0px 0px 0px 0.8ex;padding-left:1ex" class="gmail_quote"><a href="http://www.rtems.com/onlinedocs/doc-current/share/rtems/html/started/started00054.html" target="_blank">http://www.rtems.com/onlinedocs/doc-current/share/rtems/html/started/started00054.html</a><br>


</blockquote><br></div>That could be true. Things have changed and the documentation has not been updated. MinGW is changing the way you use it so lets work with the latest and get it into the list archive.<br><br>Head over to <a href="http://sourceforge.net/projects/mingw/files/" target="_blank">http://sourceforge.net/projects/mingw/files/</a>.<br>


<br>Download mingw-get-inst-20100813.exe and run. I selected the C++ and MSYS Base System option in the "Select Components" section. You may need to scroll down to find "MSYS Basic System". It will open a cmd.exe box and then download most of the needed bits.<br>


<br>A missing package not downloaded is perl. Open the MSYS link on the MinGW file page and look for the latest perl version and download the bin lzma file. Open a MSYS shell. It is under "C:\MinGW\msys\1.0".<br>


<br>Enter these commands:<br><br> $ cd /c/MinGW/msys/1.0<br> $ cat ~/My\ Documents/Downloads/perl-5.6.1_2-2-msys-1.0.13-bin.tar.lzma | lzma -d | tar xvf -<br><br>Now edit "/etc/fstab" to have:<br><br> $ cat /etc/fstab<br>


 C:\MinGW\   /mingw<br> c:\opt\     /opt<br><br>Note, this is c:\MinGW\msys\1.0\etc\fstab. It also assumes you have a directory c:\opt. If not please add.<br><br>Now download the prebuild tar files from the RTEMS ftp users (or a mirror) found here:<br>


<br> <a href="http://www.rtems.org/ftp/pub/rtems/mingw32/4.10/" target="_blank">http://www.rtems.org/ftp/pub/rtems/mingw32/4.10/</a><br><br>I will download the PowerPC target. The list is:<br><br> rtems-4.10-powerpc-rtems4.10-binutils-2.20.1-3.tar.bz2<br>


 rtems-4.10-powerpc-rtems4.10-gcc-4.4.5-2.tar.bz2<br> rtems-4.10-powerpc-rtems4.10-gcc-c++-4.4.5-2.tar.bz2<br> rtems-4.10-powerpc-rtems4.10-gcc-libgcc-4.4.5-2.tar.bz2<br> rtems-4.10-powerpc-rtems4.10-gcc-libstdc++-4.4.5-2.tar.bz2<br>


 rtems-4.10-powerpc-rtems4.10-newlib-1.18.0-17.tar.bz2<br><br>To installed, in the MSYS shell enter:<br><br> $ cd /c<br> $ cat ~/My\ Documents/Downloads/rtems-4.10-powerpc-rtems4.10-binutils-2.20.1-3.tar.bz2 | bzip2 -d | tar xvf -<br>


 $ cat ~/My\ Documents/Downloads/rtems-4.10-powerpc-rtems4.10-gcc-4.4.5-2.tar.bz2 | bzip2 -d | tar xvf -<br> $ cat ~/My\ Documents/Downloads/rtems-4.10-powerpc-rtems4.10-gcc-c++-4.4.5-2.tar.bz2 | bzip2 -d | tar xvf -<br>

 $ cat ~/My\ Documents/Downloads/rtems-4.10-powerpc-rtems4.10-gcc-libgcc-4.4.5-2.tar.bz2 | bzip2 -d | tar xvf -<br>
 $ cat ~/My\ Documents/Downloads/rtems-4.10-powerpc-rtems4.10-gcc-libstdc++-4.4.5-2.tar.bz2 | bzip2 -d | tar xvf -<br> $ cat ~/My\ Documents/Downloads/rtems-4.10-powerpc-rtems4.10-newlib-1.18.0-17.tar.bz2 | bzip2 -d | tar xvf -<br>


<br>You also need to install the autoconf and automake packages.<br><br> $ cd /c<br> $ cat ~/My\ Documents/Downloads/rtems-4.10-autoconf-2.68-1.tar.bz2 | bzip2 -d | tar xvf -<br> $ cat ~/My\ Documents/Downloads/rtems-4.10-automake-1.11.1-2.tar.bz2 | bzip2 -d | tar xvf -<br>


<br>Update your path and you should be able to build RTEMS from the 4.10 branch.<br><br>If you get a zlib dll error look in the MinGW bin directory for a zlib dll and copy it to the name the RTEMS tools reports. I will update this thread with that info when I see it.<br>


<font color="#888888"><br>Chris<br></font></blockquote></div><br>
<br>_______________________________________________<br>
rtems-users mailing list<br>
<a href="mailto:rtems-users@rtems.org">rtems-users@rtems.org</a><br>
<a href="http://www.rtems.org/mailman/listinfo/rtems-users" target="_blank">http://www.rtems.org/mailman/listinfo/rtems-users</a><br>
<br></blockquote></div><br></div></div>