macemu/README.md

106 lines
2.4 KiB
Markdown
Raw Normal View History

2018-07-01 13:50:33 +00:00
#### BasiliskII
```
2021-05-06 05:24:31 +00:00
macOS x86_64 JIT / arm64 non-JIT
2022-06-22 13:25:08 +00:00
Linux x86 x86_64 JIT / arm64 non-JIT
2021-04-23 11:55:06 +00:00
MinGW x86 JIT
2018-07-01 13:50:33 +00:00
```
#### SheepShaver
```
2021-04-23 11:55:06 +00:00
macOS x86_64 JIT / arm64 non-JIT
2022-06-22 13:25:08 +00:00
Linux x86 x86_64 JIT / arm64 non-JIT
2021-04-23 11:55:06 +00:00
MinGW x86 JIT
2018-07-01 13:50:33 +00:00
```
### How To Build
2021-08-01 01:06:15 +00:00
These builds need to be installed SDL2.0.14+ framework/library.
2021-09-05 08:50:05 +00:00
https://www.libsdl.org
2018-07-01 13:50:33 +00:00
#### BasiliskII
##### macOS
2021-05-07 05:44:40 +00:00
preparation:
2021-06-13 14:57:02 +00: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 05:44:40 +00:00
```
2023-04-03 09:03:57 +00:00
Download mpfr-4.2.0.tar.xz from https://www.mpfr.org.
2021-06-13 14:57:02 +00:00
```
$ cd ~/Downloads
2023-04-03 09:03:57 +00:00
$ tar xf mpfr-4.2.0.tar.xz
$ cd mpfr-4.2.0
2021-06-13 14:57:02 +00:00
$ ./configure --disable-shared
$ make
$ make check
$ sudo make install
2021-05-07 05:44:40 +00:00
```
2023-05-16 00:52:21 +00: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 01:06:15 +00:00
```
2023-04-03 09:03:57 +00:00
$ CFLAGS="-arch arm64" CXXFLAGS="$CFLAGS" ./configure -host=aarch64-apple-darwin --disable-shared
2021-08-01 01:06:15 +00:00
```
(from https://github.com/kanjitalk755/macemu/pull/96)
2021-05-11 01:18:06 +00:00
2023-04-04 05:35:55 +00: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 01:06:15 +00:00
build:
2021-08-05 00:55:23 +00:00
```
$ cd macemu/BasiliskII/src/MacOSX
$ xcodebuild build -project BasiliskII.xcodeproj -configuration Release
```
2022-06-22 13:25:08 +00:00
or same as Linux
2020-01-29 02:22:52 +00:00
2022-06-22 13:25:08 +00:00
##### Linux
preparation (arm64 only): Install GMP and MPFR.
2018-07-01 13:50:33 +00:00
```
$ cd macemu/BasiliskII/src/Unix
$ ./autogen.sh
$ make
```
2020-03-18 06:29:20 +00:00
##### MinGW32/MSYS2
2023-04-01 12:25:41 +00:00
preparation:
```
2023-04-01 12:27:23 +00:00
$ pacman -S base-devel mingw-w64-i686-toolchain autoconf automake mingw-w64-i686-SDL2 mingw-w64-i686-gtk2
2023-04-01 12:25:41 +00:00
```
2023-06-20 03:55:16 +00:00
build (from a mingw32.exe prompt):
2018-07-01 13:50:33 +00:00
```
$ cd macemu/BasiliskII/src/Windows
$ ../Unix/autogen.sh
$ make
```
#### SheepShaver
##### macOS
2023-04-04 05:35:55 +00:00
about changing Deployment Target: see BasiliskII
2021-08-05 00:55:23 +00:00
```
$ cd macemu/SheepShaver/src/MacOSX
$ xcodebuild build -project SheepShaver_Xcode8.xcodeproj -configuration Release
```
2022-06-22 13:25:08 +00:00
or same as Linux
2020-01-29 02:22:52 +00:00
2022-06-22 13:25:08 +00:00
##### Linux
2018-07-01 13:50:33 +00:00
```
2020-01-29 02:22:52 +00:00
$ cd macemu/SheepShaver/src/Unix
2018-07-01 13:50:33 +00:00
$ ./autogen.sh
$ make
```
2020-03-18 06:29:20 +00:00
##### MinGW32/MSYS2
2023-04-01 12:25:41 +00:00
preparation: same as BasiliskII
2023-06-20 03:55:16 +00:00
build (from a mingw32.exe prompt):
2018-07-01 13:50:33 +00:00
```
$ cd macemu/SheepShaver
$ make links
$ cd src/Windows
$ ../Unix/autogen.sh
$ make
```
2020-10-09 05:03:53 +00: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)