Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
341b5abe
Commit
341b5abe
authored
9 years ago
by
Yuchen Zeng
Browse files
Options
Downloads
Patches
Plain Diff
Doc Fixit: src/cpp/README need more information
parent
0e67d191
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/cpp/README.md
+59
-0
59 additions, 0 deletions
src/cpp/README.md
with
59 additions
and
0 deletions
src/cpp/README.md
+
59
−
0
View file @
341b5abe
...
...
@@ -6,3 +6,62 @@ This directory contains source code for C++ implementation of gRPC.
#Status
Beta
#Pre-requisites
##Linux
```
sh
$
[
sudo
]
apt-get
install
build-essential autoconf libtool
```
##Mac OSX
For a Mac system, git is not available by default. You will first need to
install Xcode from the Mac AppStore and then run the following command from a
terminal:
```
sh
$
[
sudo
]
xcode-select
--install
```
##Protoc
By default gRPC uses
[
protocol buffers
](
https://github.com/google/protobuf
)
,
you will need the
`protoc`
compiler to generate stub server and client code.
If you compile gRPC from source, as described below, the Makefile will
automatically try and compile the
`protoc`
in third party if you cloned the
repository recursively and it detects that you don't already have it
installed.
If it hasn't been installed, you can run the following commands to install it.
```
sh
$
cd
grpc/third_party/protobuf
$
sudo
make
install
# 'make' should have been run by core grpc
```
Alternatively, you can download
`protoc`
binaries from
[
the protocol buffers Github repository
](
https://github.com/google/protobuf/releases
)
.
#INSTALLATION
Currently to install gRPC for C++, you need to build from source as described below.
#Build from Source
```
sh
$
git clone https://github.com/grpc/grpc.git
$
cd
grpc
$
git submodule update
--init
$
make
$
[
sudo
]
make
install
```
#DOCUMENTATION
-
The gRPC C++ refenrence documentation is available online at
[
grpc.io
](
http://www.grpc.io/docs/tutorials/basic/c.html
)
-
[
Helloworld example
](
../../examples/cpp/helloworld
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment