windows_toolchain_core
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
windows_toolchain_core [2008/11/06 12:53] – stryd_one | windows_toolchain_core [2012/07/04 18:37] (current) – admin | ||
---|---|---|---|
Line 5: | Line 5: | ||
** Don't forget [[http:// | ** Don't forget [[http:// | ||
| | ||
+ | \\ | ||
+ | ** Please note that this page is only for MIOS8.** | ||
+ | For the more powerful STM32 based MIOS32, please visit [[http:// | ||
\\ | \\ | ||
\\ | \\ | ||
Line 31: | Line 34: | ||
\\ | \\ | ||
\\ | \\ | ||
+ | |||
====== Preparation ====== | ====== Preparation ====== | ||
Line 64: | Line 68: | ||
\\ | \\ | ||
====== Required Tools ====== | ====== Required Tools ====== | ||
- | |||
- | ===== MinGW ===== | ||
- | |||
- | MinGW' | ||
- | \\ | ||
- | 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' | ||
- | |||
- | * [[http:// | ||
- | * Install, taking the ' | ||
- | * When you are prompted to ' | ||
- | * If you do not plan to use AC-Sim, un tick the box at the top labelled "MinGW Base Tools" | ||
- | * Tick the box at the bottom labelled "MinGW make". This is required for the MSYS installation, | ||
- | * Click ' | ||
- | * Click ' | ||
- | |||
- | //If the installer crashes while downloading just keep repeating the above until it completes. (this shouldn' | ||
- | \\ | ||
- | \\ | ||
- | |||
===== 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:// | + | * [[http://downloads.sourceforge.net/ |
* 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 ' | * 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 ' | ||
- | * Next you will be asked: "Do you have MinGW installed? [yn ]" Type ' | + | * Next you will be asked: "Do you have MinGW installed? [yn ]" Type ' |
- | * If you say yes to this prompt, you will be asked: | + | |
- | " | + | |
- | Where is your MinGW installation? | + | |
- | * If you have followed this document, and you chose to install MinGW, you should type: " | + | |
* Press Enter, to exit the postinstall script, and click ' | * Press Enter, to exit the postinstall script, and click ' | ||
- | |||
- | ==== 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 ' | ||
- | * Paste in the following command: | ||
- | '' | ||
- | * Click ' | ||
- | \\ | ||
- | \\ | ||
===== GNU PIC Utilities (GPUtils) ===== | ===== GNU PIC Utilities (GPUtils) ===== | ||
- | * [[https:// | + | * [[http:// |
* Install the complete application using the ' | * Install the complete application using the ' | ||
* When the installer asks you, click ' | * When the installer asks you, click ' | ||
Line 145: | Line 114: | ||
* ;C:\Program Files\gputils\bin | * ;C:\Program Files\gputils\bin | ||
* ;C:\Program Files\SDCC\bin | * ;C:\Program Files\SDCC\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 |
> | > | ||
Line 231: | Line 199: | ||
There are 2 methods | There are 2 methods | ||
====MIOS Base Package==== | ====MIOS Base Package==== | ||
- | Download the MIOS Base Package [[http:// | + | Download the MIOS Base Package [[http:// |
You need add 2 environment variables to your system. MIOS_PATH and MIOS_BIN_PATH | You need add 2 environment variables to your system. MIOS_PATH and MIOS_BIN_PATH |
windows_toolchain_core.1225976027.txt.gz · Last modified: 2008/11/06 12:53 by stryd_one