macemu/README.md

92 lines
1.9 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
2021-04-23 11:55:06 +00:00
Linux x86 x86_64 JIT
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
Linux x86 x86_64 JIT
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
```
2021-06-13 14:57:02 +00:00
Download mpfr-4.1.0.tar.xz from https://www.mpfr.org.
```
$ cd ~/Downloads
$ tar xf mpfr-4.1.0.tar.xz
$ cd mpfr-4.1.0
$ ./configure --disable-shared
$ make
$ make check
$ sudo make install
2021-05-07 05:44:40 +00:00
```
2021-08-05 00:55:23 +00:00
On an Intel Mac, 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
```
CFLAGS="-arch arm64" CXXFLAGS="$CFLAGS" ./configure -host=aarch64-apple-darwin --disable-shared
```
(from https://github.com/kanjitalk755/macemu/pull/96)
2021-05-11 01:18:06 +00:00
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
```
2021-04-23 11:55:06 +00:00
or same as Linux (x86_64 only)
2020-01-29 02:22:52 +00:00
2021-04-23 11:55:06 +00:00
##### Linux(x86/x86_64)
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
2018-07-01 13:50:33 +00:00
```
$ cd macemu/BasiliskII/src/Windows
$ ../Unix/autogen.sh
$ make
```
#### SheepShaver
##### macOS
2021-08-05 00:55:23 +00:00
```
$ cd macemu/SheepShaver/src/MacOSX
$ xcodebuild build -project SheepShaver_Xcode8.xcodeproj -configuration Release
```
2021-04-23 11:55:06 +00:00
or same as Linux (x86_64 only)
2020-01-29 02:22:52 +00:00
2021-04-23 11:55:06 +00:00
##### Linux(x86/x86_64)
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
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)