mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 08:32:11 +01:00
Capitalize the $CC and $CXX environment variables
This commit is contained in:
1 parent
f3538d9117
commit
6183aba9d7
11 files changed
+24
-24
No files matched your search
@@ -17,17 +17,17 @@ library exercises the software libraries built by `wuffs genlib`.
|
||||
|
||||
To exercise the static library:
|
||||
|
||||
$cc -static -I../../.. library.c ../../gen/lib/c/$cc-static/libwuffs.a
|
||||
$CC -static -I../../.. library.c ../../gen/lib/c/$CC-static/libwuffs.a
|
||||
./a.out
|
||||
rm -f a.out
|
||||
|
||||
To exercise the dynamic library:
|
||||
|
||||
$cc -I../../.. library.c -L../../gen/lib/c/$cc-dynamic -lwuffs
|
||||
LD_LIBRARY_PATH=../../gen/lib/c/$cc-dynamic ./a.out
|
||||
$CC -I../../.. library.c -L../../gen/lib/c/$CC-dynamic -lwuffs
|
||||
LD_LIBRARY_PATH=../../gen/lib/c/$CC-dynamic ./a.out
|
||||
rm -f a.out
|
||||
|
||||
for a C compiler $cc, such as clang or gcc.
|
||||
for a C compiler $CC, such as clang or gcc.
|
||||
*/
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
Reference in new issue
Block a user