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 [2021/06/19 00:35] (current) – [3) Build and install gcc+ghdl] 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 128: | Line 129: | ||
* **cd ~/ | * **cd ~/ | ||
- | * **git clone http:// | + | * **%%git clone http:// |
* **cd ghdl-updates** | * **cd ghdl-updates** | ||
- | * **./ | + | * **%%./configure --with-gcc=$HOME/ |
* **make copy-sources** | * **make copy-sources** | ||
Line 137: | Line 138: | ||
* **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.txt · Last modified: 2021/06/19 00:35 by gurce