mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 16:55:11 +01:00
Tweak example/*/*.cc compile instructions
This commit is contained in:
1 parent
f557dad608
commit
50bfab9998
4 files changed
+4
-8
No files matched your search
@@ -19,8 +19,7 @@ crc32 prints the CRC-32 checksum (using the IEEE polynomial) of stdin. It is
|
|||||||
similar to the standard /usr/bin/crc32 program, except that this example
|
similar to the standard /usr/bin/crc32 program, except that this example
|
||||||
program only reads from stdin.
|
program only reads from stdin.
|
||||||
|
|
||||||
This example program differs from most other example Wuffs programs in that it
|
To run:
|
||||||
is written in C++, not C.
|
|
||||||
|
|
||||||
$CXX crc32.cc && ./a.out < ../../README.md; rm -f a.out
|
$CXX crc32.cc && ./a.out < ../../README.md; rm -f a.out
|
||||||
|
|
||||||
|
|||||||
@@ -22,8 +22,7 @@ See the "const char* g_usage" string below for details.
|
|||||||
|
|
||||||
----
|
----
|
||||||
|
|
||||||
This example program differs from most other example Wuffs programs in that it
|
To run:
|
||||||
is written in C++, not C.
|
|
||||||
|
|
||||||
$CXX json-to-cbor.cc && ./a.out < ../../test/data/github-tags.json; rm -f a.out
|
$CXX json-to-cbor.cc && ./a.out < ../../test/data/github-tags.json; rm -f a.out
|
||||||
|
|
||||||
|
|||||||
@@ -49,8 +49,7 @@ This program (jsonfindptrs) rejects duplicate keys.
|
|||||||
|
|
||||||
----
|
----
|
||||||
|
|
||||||
This example program differs from most other example Wuffs programs in that it
|
To run:
|
||||||
is written in C++, not C.
|
|
||||||
|
|
||||||
$CXX jsonfindptrs.cc && ./a.out < ../../test/data/github-tags.json; rm -f a.out
|
$CXX jsonfindptrs.cc && ./a.out < ../../test/data/github-tags.json; rm -f a.out
|
||||||
|
|
||||||
|
|||||||
@@ -86,8 +86,7 @@ it runs in a SECCOMP_MODE_STRICT sandbox.
|
|||||||
|
|
||||||
----
|
----
|
||||||
|
|
||||||
This example program differs from most other example Wuffs programs in that it
|
To run:
|
||||||
is written in C++, not C.
|
|
||||||
|
|
||||||
$CXX jsonptr.cc && ./a.out < ../../test/data/github-tags.json; rm -f a.out
|
$CXX jsonptr.cc && ./a.out < ../../test/data/github-tags.json; rm -f a.out
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user