preparing_a_build_environment_in_cygwin
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
preparing_a_build_environment_in_cygwin [2016/07/06 03:48] – [4) Take it for a spin!] - added a sample of ouput from cpu_test binary gurce | preparing_a_build_environment_in_cygwin [2024/12/24 05:03] (current) – gurce | ||
---|---|---|---|
Line 71: | Line 71: | ||
* **gcc-g++** | * **gcc-g++** | ||
* **gcc-ada** | * **gcc-ada** | ||
+ | * **gdb** | ||
* **gmp-devel** | * **gmp-devel** | ||
* **mpfr-devel** | * **mpfr-devel** | ||
Line 91: | Line 92: | ||
* **cd ~** (ie, go to your home folder) | * **cd ~** (ie, go to your home folder) | ||
- | * **git clone https:// | + | * **git clone https:// |
- | The source-code will then be placed in the " | + | The source-code will then be placed in the " |
===== Installing Ophis ===== | ===== Installing Ophis ===== | ||
Line 120: | Line 121: | ||
* **cd ~/ | * **cd ~/ | ||
* **wget http:// | * **wget http:// | ||
+ | * NOTE: (12/ | ||
+ | * https:// | ||
* **mkdir gcc** | * **mkdir gcc** | ||
* **cd gcc** | * **cd gcc** | ||
Line 128: | Line 131: | ||
* **cd ~/ | * **cd ~/ | ||
- | * **git clone http:// | + | * **%%git clone http:// |
+ | * NOTE: I think it might be better to grab a newer version of this repo at this location (which might work better with newer versions of gcc too): | ||
+ | * https:// | ||
* **cd ghdl-updates** | * **cd ghdl-updates** | ||
- | * **./ | + | * **%%./configure --with-gcc=$HOME/ |
* **make copy-sources** | * **make copy-sources** | ||
Line 137: | Line 142: | ||
* **cd ~/ | * **cd ~/ | ||
* **mkdir gcc-objs; cd gcc-objs** | * **mkdir gcc-objs; cd gcc-objs** | ||
- | * **../ | + | * **%%../ |
* **make -j2** | * **make -j2** | ||
* If you get an error saying "// | * If you get an error saying "// | ||
* Edit the " | * Edit the " | ||
* Towards the start of the file, add " | * Towards the start of the file, add " | ||
+ | * run **make -j2** again | ||
+ | * If you get an error saying "//: No such file or directory//", | ||
+ | * **export SHELLOPTS** | ||
+ | * **set -o igncr** | ||
* run **make -j2** again | * run **make -j2** again | ||
* **make install** | * **make install** | ||
* **rm / | * **rm / | ||
* **ln -s / | * **ln -s / | ||
- | * As a test, try typing " | + | * As a test, try typing "**%%ghdl --disp-config%%**" |
* take a look at the output, and assure that there' | * take a look at the output, and assure that there' | ||
preparing_a_build_environment_in_cygwin.1467798535.txt.gz · Last modified: 2016/07/06 03:48 by gurce