Browse Source

add hombrew gcc as a alternative to macports

Change-Id: Ie5def76ee8d008e5ac299ee3b5572cfa984bc57e
Signed-off-by: Sevki Hasirci <s@sevki.org>
Sevki Hasirci 8 years ago
parent
commit
b0774b882e
1 changed files with 8 additions and 7 deletions
  1. 8 7
      README

+ 8 - 7
README

@@ -46,6 +46,13 @@ If you are on a Mac, you should install macports (https://www.macports.org/) and
 	port install qemu
 	export TOOLPREFIX=x86_64-elf-
 
+or if you use homebrew (https://http://brew.sh/)
+
+ 	brew tap sevki/gcc_cross_compilers
+	brew install sevki/gcc_cross_compilers/x86_64-elf-gcc
+	brew install qemu
+	export TOOLPREFIX=x86_64-elf-
+
 and you're now all set, you can build the whole thing just by running
 
 	export HARVEY=$(pwd)
@@ -106,15 +113,9 @@ harvey is up, you can telnet onto it with
 
 	util/telnet localhost:5555
 
-Where 5555 is forwarded to the harvey instance. This gives you a prompt 
+Where 5555 is forwarded to the harvey instance. This gives you a prompt
 without any security. Once you have the prompt, you can mount the harvey
 directory as your root like this (10.0.2.2 is what qemu has as the host)
 
 	srv tcp!10.0.2.2!5640 k
 	mount -a /srv/k /
-
-<a href="https://scan.coverity.com/projects/5328">
-  <img alt="Coverity Scan Build Status"
-       src="https://scan.coverity.com/projects/5328/badge.svg"/>
-</a>
-