diff options
Diffstat (limited to 'readme__cplusplus')
-rw-r--r-- | readme__cplusplus | 6 |
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 + + |