You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-90Lines changed: 4 additions & 90 deletions
Original file line number
Diff line number
Diff line change
@@ -1,96 +1,7 @@
1
1
simavr - a lean and mean Atmel AVR simulator for linux
2
2
======
3
3
4
-
# Notes for compiling on MinGW
5
-
6
-
Get MSys2 mingw from https://www.msys2.org/
7
-
Start the MSYS MinGW shortcut (e.g. MSYS2 MinGW 32-bit or 64-bit)
8
-
9
-
Update packages
10
-
11
-
```
12
-
pacman -Syu
13
-
```
14
-
15
-
Install toolchains and dependencies. For 64-bit
16
-
17
-
```
18
-
pacman -S mingw-w64-x86_64-toolchain
19
-
pacman -S mingw-w64-x86_64-libelf
20
-
pacman -S mingw-w64-x86_64-avr-toolchain
21
-
pacman -S mingw-w64-x86_64-freeglut
22
-
```
23
-
24
-
Replace `x86_64` with `i686` to get the 32-bit version instead.
25
-
26
-
```
27
-
pacman -S mingw-w64-i686-toolchain
28
-
pacman -S mingw-w64-i686-libelf
29
-
pacman -S mingw-w64-i686-avr-toolchain
30
-
pacman -S mingw-w64-i686-freeglut
31
-
```
32
-
33
-
etc. **There currently is an issuw with the AVR toolchain:**https://github.com/msys2/MINGW-packages/issues/9183
34
-
35
-
Note: If you are using the 32-bit version, you **may** have to adapt `Makefile.common` regarding `AVR_ROOT := /mingw64/avr` to `AVR_ROOT := /mingw32/avr`. I have not tested this and the paths may be the same, but if you run into errors regarding AVR, check there.
36
-
37
-
In the normal user directory (`cd ~`), clone this repo
Now create a install directory and install it. Note that `/home/Max/` is in this case my home directory.
53
-
54
-
Additionally this renames `simavr` to `simavr.exe` to make it properly executable. Ignore the compile error in the examples, it only counts that simavr is copied to the install directory.
55
-
56
-
```
57
-
mkdir simavr_installed
58
-
make install DESTDIR=/home/$USER/simavr/simavr_installed/
0 commit comments