File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff 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
117117for 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;
120120done
121121
122122# Example command for build sample with clang 3.9 or upper and libc++ on Linux
123123for 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;
127127done
128128
Original file line number Diff line number Diff 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
1111for 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;
1414done
1515
1616# Example command for build sample with clang 3.9 or upper and libc++ on Linux
1717for 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;
2121done
2222
You can’t perform that action at this time.
0 commit comments