diff options
author | Jisi Liu <jisi.liu@gmail.com> | 2015-02-24 21:26:50 -0800 |
---|---|---|
committer | Jisi Liu <jisi.liu@gmail.com> | 2015-02-24 21:26:50 -0800 |
commit | 581a5266ee592eaed28a24d4aa58c59d4d0135e8 (patch) | |
tree | 460c66ecf0032e1bb5946853c07f5700a58a4c87 /README.md | |
parent | e70329c6c0a2a9ebbbd1038f076d823e730512a7 (diff) | |
download | protobuf-581a5266ee592eaed28a24d4aa58c59d4d0135e8.tar.gz protobuf-581a5266ee592eaed28a24d4aa58c59d4d0135e8.tar.bz2 protobuf-581a5266ee592eaed28a24d4aa58c59d4d0135e8.zip |
Add unix tools instructions for Mac.
Change-Id: I287d613fbe4180e41de67e26dfb905edeeebcf9d
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -88,6 +88,22 @@ For advanced usage information on configure and make, see INSTALL.txt. If you only want protobuf-lite, substitute "protobuf-lite" in place of "protobuf" in these examples. +**Note for Mac users** + + For a Mac system, Unix tools are not available by default. You will first need + to install Xcode from the Mac AppStore and then run the following command from + a terminal: + + $ sudo xcode-select --install + + To install Unix tools, you can install "port" following the instructions at + https://www.macports.org . This will reside in /opt/local/bin/port for most + Mac installations. + + $ sudo /opt/local/bin/port install autoconf automake libtool + + Then follow the Unix instructions above. + **Note for cross-compiling** The makefiles normally invoke the protoc executable that they just |