summaryrefslogtreecommitdiffstats
path: root/readme__cplusplus
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2010-11-01 01:35:04 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2010-11-01 01:35:04 -0700
commit6130e39b18b5f53902e4eab14f6d5cdde5219563 (patch)
tree0db0628479a1b750e9af1f66cb8379ebd0913d31 /readme__cplusplus
parentf0e77f6797c0504b0da25a56152b707d3357f386 (diff)
downloadabc-6130e39b18b5f53902e4eab14f6d5cdde5219563.tar.gz
abc-6130e39b18b5f53902e4eab14f6d5cdde5219563.tar.bz2
abc-6130e39b18b5f53902e4eab14f6d5cdde5219563.zip
initial commit of public abc
Diffstat (limited to 'readme__cplusplus')
-rw-r--r--readme__cplusplus6
1 files changed, 6 insertions, 0 deletions
diff --git a/readme__cplusplus b/readme__cplusplus
new file mode 100644
index 00000000..8a2a17e6
--- /dev/null
+++ b/readme__cplusplus
@@ -0,0 +1,6 @@
+
+To compile as C code: make sure CC=gcc, and, optionally, that ABC_NAMESPACE is not defined.
+To compile as C++ code without namespaces: make sure CC=g++, and that ABC_NAMESPACE is not defined.
+To compile as C++ code with namespaces: make sure CC=g++, and that ABC_NAMESPACE is defined to name of the requested namespace. For example, add to OPTFLAGS -DABC_NAMESPACE=xxx
+
+