Update README.md

This commit is contained in:
kanjitalk755 2023-04-03 18:03:57 +09:00 committed by GitHub
parent 5739ba9e8a
commit aa6f09ec7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -28,11 +28,11 @@ $ make
$ make check $ make check
$ sudo make install $ sudo make install
``` ```
Download mpfr-4.1.0.tar.xz from https://www.mpfr.org. Download mpfr-4.2.0.tar.xz from https://www.mpfr.org.
``` ```
$ cd ~/Downloads $ cd ~/Downloads
$ tar xf mpfr-4.1.0.tar.xz $ tar xf mpfr-4.2.0.tar.xz
$ cd mpfr-4.1.0 $ cd mpfr-4.2.0
$ ./configure --disable-shared $ ./configure --disable-shared
$ make $ make
$ make check $ make check
@ -40,7 +40,7 @@ $ sudo make install
``` ```
On an Intel Mac, change the `configure` command for both GMP and MPFR as follows, and ignore the `make check` command: On an Intel Mac, change the `configure` command for both GMP and MPFR as follows, and ignore the `make check` command:
``` ```
CFLAGS="-arch arm64" CXXFLAGS="$CFLAGS" ./configure -host=aarch64-apple-darwin --disable-shared $ CFLAGS="-arch arm64" CXXFLAGS="$CFLAGS" ./configure -host=aarch64-apple-darwin --disable-shared
``` ```
(from https://github.com/kanjitalk755/macemu/pull/96) (from https://github.com/kanjitalk755/macemu/pull/96)