Skip to content

Commit 73efa08

Browse files
committed
fix and use lib64 for build script samples
1 parent 6108d30 commit 73efa08

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,13 @@ LIBCOPP_PREFIX=<WHERE TO INSTALL libcopp>
116116
# Example command for build sample with gcc 4.9 or upper on Linux
117117
for source in sample_readme_*.cpp; do
118118
g++ -std=c++14 -O2 -g -ggdb -Wall -Werror -fPIC -rdynamic -fdiagnostics-color=auto -Wno-unused-local-typedefs \
119-
-I$LIBCOPP_PREFIX/include -L$LIBCOPP_PREFIX/lib -lcopp -lcotask $source -o $source.exe;
119+
-I$LIBCOPP_PREFIX/include -L$LIBCOPP_PREFIX/lib64 -lcopp -lcotask $source -o $source.exe;
120120
done
121121

122122
# Example command for build sample with clang 3.9 or upper and libc++ on Linux
123123
for source in sample_readme_*.cpp; do
124124
clang++ -std=c++17 -stdlib=libc++ -O2 -g -ggdb -Wall -Werror -fPIC -rdynamic \
125-
-I$LIBCOPP_PREFIX/include -L$LIBCOPP_PREFIX/lib -lcopp -lcotask -lc++ -lc++abi \
125+
-I$LIBCOPP_PREFIX/include -L$LIBCOPP_PREFIX/lib64 -lcopp -lcotask -lc++ -lc++abi \
126126
$source -o $source.exe;
127127
done
128128

docs/md/020_USAGE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ LIBCOPP_PREFIX=<WHERE TO INSTALL libcopp>
1010
# Example command for build sample with gcc 4.9 or upper on Linux
1111
for source in sample_readme_*.cpp; do
1212
g++ -std=c++14 -O2 -g -ggdb -Wall -Werror -fPIC -rdynamic -fdiagnostics-color=auto -Wno-unused-local-typedefs \
13-
-I$LIBCOPP_PREFIX/include -L$LIBCOPP_PREFIX/lib -lcopp -lcotask $source -o $source.exe;
13+
-I$LIBCOPP_PREFIX/include -L$LIBCOPP_PREFIX/lib64 -lcopp -lcotask $source -o $source.exe;
1414
done
1515

1616
# Example command for build sample with clang 3.9 or upper and libc++ on Linux
1717
for source in sample_readme_*.cpp; do
1818
clang++ -std=c++17 -stdlib=libc++ -O2 -g -ggdb -Wall -Werror -fPIC -rdynamic \
19-
-I$LIBCOPP_PREFIX/include -L$LIBCOPP_PREFIX/lib -lcopp -lcotask -lc++ -lc++abi \
19+
-I$LIBCOPP_PREFIX/include -L$LIBCOPP_PREFIX/lib64 -lcopp -lcotask -lc++ -lc++abi \
2020
$source -o $source.exe;
2121
done
2222

0 commit comments

Comments
 (0)