macemu/README.md

106 lines
2.4 KiB
Markdown
Raw Normal View History

2018-07-01 22:50:33 +09:00
#### BasiliskII
```
2021-05-06 14:24:31 +09:00
macOS x86_64 JIT / arm64 non-JIT
2022-06-22 22:25:08 +09:00
Linux x86 x86_64 JIT / arm64 non-JIT
2021-04-23 20:55:06 +09:00
MinGW x86 JIT
2018-07-01 22:50:33 +09:00
```
#### SheepShaver
```
2021-04-23 20:55:06 +09:00
macOS x86_64 JIT / arm64 non-JIT
2022-06-22 22:25:08 +09:00
Linux x86 x86_64 JIT / arm64 non-JIT
2021-04-23 20:55:06 +09:00
MinGW x86 JIT
2018-07-01 22:50:33 +09:00
```
### How To Build
2021-08-01 10:06:15 +09:00
These builds need to be installed SDL2.0.14+ framework/library.
2021-09-05 17:50:05 +09:00
https://www.libsdl.org
2018-07-01 22:50:33 +09:00
#### BasiliskII
##### macOS
2021-05-07 14:44:40 +09:00
preparation:
2021-06-13 23:57:02 +09:00
Download gmp-6.2.1.tar.xz from https://gmplib.org.
```
$ cd ~/Downloads
$ tar xf gmp-6.2.1.tar.xz
$ cd gmp-6.2.1
$ ./configure --disable-shared
$ make
$ make check
$ sudo make install
2021-05-07 14:44:40 +09:00
```
2023-04-03 18:03:57 +09:00
Download mpfr-4.2.0.tar.xz from https://www.mpfr.org.
2021-06-13 23:57:02 +09:00
```
$ cd ~/Downloads
2023-04-03 18:03:57 +09:00
$ tar xf mpfr-4.2.0.tar.xz
$ cd mpfr-4.2.0
2021-06-13 23:57:02 +09:00
$ ./configure --disable-shared
$ make
$ make check
$ sudo make install
2021-05-07 14:44:40 +09:00
```
2023-05-16 09:52:21 +09:00
On an Intel Mac, the libraries should be cross-built.
Change the `configure` command for both GMP and MPFR as follows, and ignore the `make check` command:
2021-08-01 10:06:15 +09:00
```
2023-04-03 18:03:57 +09:00
$ CFLAGS="-arch arm64" CXXFLAGS="$CFLAGS" ./configure -host=aarch64-apple-darwin --disable-shared
2021-08-01 10:06:15 +09:00
```
(from https://github.com/kanjitalk755/macemu/pull/96)
2021-05-11 10:18:06 +09:00
2023-04-04 14:35:55 +09:00
about changing Deployment Target:
If you build with an older version of Xcode, you can change Deployment Target to the minimum it supports or 10.7, whichever is greater.
2021-08-01 10:06:15 +09:00
build:
2021-08-05 09:55:23 +09:00
```
$ cd macemu/BasiliskII/src/MacOSX
$ xcodebuild build -project BasiliskII.xcodeproj -configuration Release
```
2022-06-22 22:25:08 +09:00
or same as Linux
2020-01-29 11:22:52 +09:00
2022-06-22 22:25:08 +09:00
##### Linux
preparation (arm64 only): Install GMP and MPFR.
2018-07-01 22:50:33 +09:00
```
$ cd macemu/BasiliskII/src/Unix
$ ./autogen.sh
$ make
```
2020-03-18 15:29:20 +09:00
##### MinGW32/MSYS2
2023-04-01 21:25:41 +09:00
preparation:
```
2023-04-01 21:27:23 +09:00
$ pacman -S base-devel mingw-w64-i686-toolchain autoconf automake mingw-w64-i686-SDL2 mingw-w64-i686-gtk2
2023-04-01 21:25:41 +09:00
```
2023-06-20 12:55:16 +09:00
build (from a mingw32.exe prompt):
2018-07-01 22:50:33 +09:00
```
$ cd macemu/BasiliskII/src/Windows
$ ../Unix/autogen.sh
$ make
```
#### SheepShaver
##### macOS
2023-04-04 14:35:55 +09:00
about changing Deployment Target: see BasiliskII
2021-08-05 09:55:23 +09:00
```
$ cd macemu/SheepShaver/src/MacOSX
$ xcodebuild build -project SheepShaver_Xcode8.xcodeproj -configuration Release
```
2022-06-22 22:25:08 +09:00
or same as Linux
2020-01-29 11:22:52 +09:00
2022-06-22 22:25:08 +09:00
##### Linux
2018-07-01 22:50:33 +09:00
```
2020-01-29 11:22:52 +09:00
$ cd macemu/SheepShaver/src/Unix
2018-07-01 22:50:33 +09:00
$ ./autogen.sh
$ make
```
2020-03-18 15:29:20 +09:00
##### MinGW32/MSYS2
2023-04-01 21:25:41 +09:00
preparation: same as BasiliskII
2023-06-20 12:55:16 +09:00
build (from a mingw32.exe prompt):
2018-07-01 22:50:33 +09:00
```
$ cd macemu/SheepShaver
$ make links
$ cd src/Windows
$ ../Unix/autogen.sh
$ make
```
2020-10-09 14:03:53 +09:00
### Recommended key bindings for gnome
https://github.com/kanjitalk755/macemu/blob/master/SheepShaver/doc/Linux/gnome_keybindings.txt
(from https://github.com/kanjitalk755/macemu/issues/59)