From 02eeb624a0bdf469fc4107928250d6cd5b8dec96 Mon Sep 17 00:00:00 2001 From: Mingzheng Xing Date: Wed, 1 Feb 2023 22:47:58 +0800 Subject: [PATCH] Docs: Update README.md This patch contains three minor updates: 1. Added texinfo to OS X dependency package 2. Brew tap discoteq/discoteq is no longer required to install the flock 3. Added tip in "Installation (Newlib)" to keep similar to the description in "Installation (Linux)" and fixed a typo. Signed-off-by: Mingzheng Xing --- README.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 4f383cc7ef1..687d513f0bc 100644 --- a/README.md +++ b/README.md @@ -34,9 +34,7 @@ Also available for Arch users on the AUR: [https://aur.archlinux.org/packages/ri On OS X, you can use [Homebrew](http://brew.sh) to install the dependencies: - $ brew install python3 gawk gnu-sed gmp mpfr libmpc isl zlib expat - $ brew tap discoteq/discoteq - $ brew install flock + $ brew install python3 gawk gnu-sed gmp mpfr libmpc isl zlib expat texinfo flock To build the glibc (Linux) on OS X, you will need to build within a case-sensitive file system. The simplest approach is to create and mount a new disk image with @@ -50,9 +48,9 @@ complete the process. ### Installation (Newlib) -To build the Newlib cross-compiler, pick an install path. If you choose, -say, `/opt/riscv`, then add `/opt/riscv/bin` to your `PATH` now. Then, simply -run the following command: +To build the Newlib cross-compiler, pick an install path (that is writeable). +If you choose, say, `/opt/riscv`, then add `/opt/riscv/bin` to your `PATH`. +Then, simply run the following command: ./configure --prefix=/opt/riscv make @@ -61,7 +59,7 @@ You should now be able to use riscv64-unknown-elf-gcc and its cousins. ### Installation (Linux) -To build the Linux cross-compiler, pick an install path (that is writeable.) +To build the Linux cross-compiler, pick an install path (that is writeable). If you choose, say, `/opt/riscv`, then add `/opt/riscv/bin` to your `PATH`. Then, simply run the following command: