diff options
author | kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2009-05-06 20:41:30 +0000 |
---|---|---|
committer | kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2009-05-06 20:41:30 +0000 |
commit | e21c5734ecf61c21aa8393a8fbfb55aed8d486d6 (patch) | |
tree | c5e99d1976ba335e208a72ae18668042ac6c659a /examples/README.txt | |
parent | 63e646b7ad6f18228c1807f8d18111ae96e86aa7 (diff) | |
download | protobuf-e21c5734ecf61c21aa8393a8fbfb55aed8d486d6.tar.gz protobuf-e21c5734ecf61c21aa8393a8fbfb55aed8d486d6.tar.bz2 protobuf-e21c5734ecf61c21aa8393a8fbfb55aed8d486d6.zip |
Make sure examples link properly.
Diffstat (limited to 'examples/README.txt')
-rw-r--r-- | examples/README.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/README.txt b/examples/README.txt index b0d1a0c2..d22bf06c 100644 --- a/examples/README.txt +++ b/examples/README.txt @@ -15,7 +15,7 @@ creates the following executable files in the current directory: add_person_java list_people_java add_person_python list_people_python -If you only want to compile examples in one language, use "make cpp", +If you only want to compile examples in one language, use "make cpp"*, "make java", or "make python". All of these programs simply take an address book file as their parameter. @@ -23,3 +23,7 @@ The add_person programs will create the file if it doesn't already exist. These examples are part of the Protocol Buffers tutorial, located at: http://code.google.com/apis/protocolbuffers/docs/tutorials.html + +* Note that on some platforms you may have to edit the Makefile and remove +"-lpthread" from the linker commands (perhaps replacing it with something else). +We didn't do this automatically because we wanted to keep the example simple. |