User Tools

Site Tools


windows_toolchain_core

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
windows_toolchain_core [2009/10/22 13:35]
Smithy updated mios_base package link
windows_toolchain_core [2010/11/30 20:44]
baeaeaeaeaer
Line 5: Line 5:
 ** Don't forget [[http://​www.midibox.org/​dokuwiki/​windows_toolchain_quickstart|The QuickStart Guide!]]** ​ ** Don't forget [[http://​www.midibox.org/​dokuwiki/​windows_toolchain_quickstart|The QuickStart Guide!]]** ​
  ​It'​s the quick and easy setup. It will work for nearly everyone.\\  ​It'​s the quick and easy setup. It will work for nearly everyone.\\
 +\\
 +** Please note that this page is only for MIOS8.** ​
 +  For the more powerful STM32 based MIOS32, please visit [[http://​www.midibox.org/​dokuwiki/​doku.php?​id=windows_mios32_toolchain_core&​s|The MIOS32 Setup Guide!]]\\
 \\ \\
 \\ \\
Line 31: Line 34:
 \\ \\
 \\ \\
 +
 ====== Preparation ====== ====== Preparation ======
  
Line 64: Line 68:
 \\ \\
 ====== Required Tools ====== ====== Required Tools ======
- 
-===== MinGW ===== 
- 
-MinGW'​s installer can download a tool required in the next step. You should do this step. 
-\\ 
-MinGW also contains GCC which is used to compile the AC-sim simulator. Most people won't need this, and no it does not make a complete midibox on your PC, it is a console application designed for testing algorithms. \\ 
-If you're not sure, you probably don't need it, but installing it now will make the process a little easier. MSYS should always be installed AFTER MinGW (that'​s the next step in this document). If you skip the MinGW section now, and install MinGW later, you should also install MSYS again afterwards. 
- 
-  * [[http://​sourceforge.net/​project/​showfiles.php?​group_id=2435&​package_id=240780&​release_id=529741|Download the installer]]. Version 5.1.4 has tested OK. 
-  * Install, taking the '​Download and Install'​ option, Agree to the license, and select the '​Candidate'​ package. 
-  * When you are prompted to '​Choose Components':​ 
-    * If you do not plan to use AC-Sim, un tick the box at the top labelled "MinGW Base Tools"​. This package won't hurt, but it's a big download (~50MB) 
-    * Tick the box at the bottom labelled "MinGW make". This is required for the MSYS installation,​ to upgrade to the latest version of make. It's only 100k. 
-  * Click '​Next',​ '​Next',​ '​Install'​. 
-  * Click '​Next',​ and '​Finish'​. 
- 
-//If the installer crashes while downloading just keep repeating the above until it completes. (this shouldn'​t happen, but just so you know, it will continue from where it left off)// 
-\\ 
-\\ 
- 
 ===== MSYS ===== ===== MSYS =====
  
 MSYS provides us with a POSIX (UNIX style) environment for our Windows PC. This packages includes tools such as make and sed and sh, which are required to correctly run gputils later on. I recommend the latest version, but v1.0.10 has tested OK. MSYS provides us with a POSIX (UNIX style) environment for our Windows PC. This packages includes tools such as make and sed and sh, which are required to correctly run gputils later on. I recommend the latest version, but v1.0.10 has tested OK.
 If you are going to use MinGW for AC-Sim, ensure that you have installed that completely before performing the MSYS install. See the above step in this document. If you are going to use MinGW for AC-Sim, ensure that you have installed that completely before performing the MSYS install. See the above step in this document.
-  * [[http://​sourceforge.net/​project/showfiles.php?​group_id=2435&​package_id=24963&​release_id=89960|Download MSYS]]+  * [[http://downloads.sourceforge.net/​mingw/MSYS-1.0.11.exe|Download MSYS]] ​ (more info [[http://​www.mingw.org/​wiki/​MSYS|here]])
   * Install using the defaults.   * Install using the defaults.
   * When the install is almost complete, you will see a DOS console window open, and you will be prompted: "Do you wish to continue with the post install? [yn ]". Type '​y'​ (without the quotes) and hit Enter.   * When the install is almost complete, you will see a DOS console window open, and you will be prompted: "Do you wish to continue with the post install? [yn ]". Type '​y'​ (without the quotes) and hit Enter.
-  * Next you will be asked: "Do you have MinGW installed? [yn ]" Type '​y'​ or '​n'​ without the quotes and hit enter+  * Next you will be asked: "Do you have MinGW installed? [yn ]" Type '​n'​ without the quotes and hit enter.
-  * If you say yes to this prompt, you will be asked:  +
-"​Please answer the following in the form of c:/​foo/​bar. +
-Where is your MinGW installation?​ " +
-  * If you have followed this document, and you chose to install MinGW, you should type: "​c:/​mingw"​. Note the forward slash.+
   * Press Enter, to exit the postinstall script, and click '​Finish'​.   * Press Enter, to exit the postinstall script, and click '​Finish'​.
- 
-==== make upgrade ==== 
- 
-Unfortunately there is currently no installer for the required version of make (v3.81). It is downloaded in the MinGW setup aboove, but we must copy it to the correct location. 
- 
-  * Click '​Start... Run'. 
-  * Paste in the following command: 
-''​copy c:​\MinGW\bin\mingw32-make.exe c:​\msys\1.0\bin\make.exe /​y''​ 
-  * Click '​OK'​. 
-\\ 
-\\ 
  
 ===== GNU PIC Utilities (GPUtils) ===== ===== GNU PIC Utilities (GPUtils) =====
Line 145: Line 114:
     * ;C:\Program Files\gputils\bin     * ;C:\Program Files\gputils\bin
     * ;C:\Program Files\SDCC\bin     * ;C:\Program Files\SDCC\bin
-    * ;​C:​\MinGW\bin 
  
 It is STRONGLY recommended to put these directories at the BEGINNING of the PATH Variable! I will show my PATH variables as a demonstration. Your paths may be different, as they will reflect the software installed on your PC - but these will hopefully serve as a good illustration. It is STRONGLY recommended to put these directories at the BEGINNING of the PATH Variable! I will show my PATH variables as a demonstration. Your paths may be different, as they will reflect the software installed on your PC - but these will hopefully serve as a good illustration.
Line 214: Line 182:
 PARTICULAR PURPOSE. PARTICULAR PURPOSE.
  
-This program built for i386-pc-mingw32+This program built for i686-pc-msys
  
 > >
windows_toolchain_core.txt · Last modified: 2012/07/04 18:37 by admin