-
Notifications
You must be signed in to change notification settings - Fork 0
/
commands.txt
43 lines (21 loc) · 1.05 KB
/
commands.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
COMMAND LIST
G++
copy:
sudo cp ./src/inf_int.h /usr/include
compile test code:
g++ -linf_int -std=c++20 ./src/test.cpp -o test
everything:
sudo cp ./src/inf_int.h /usr/include && g++ -linf_int -std=c++20 ./src/test.cpp -o test
everything but for dmytro only:
sudo cp ./src/inf_int.h /usr/include && g++ -linf_int -std=c++20 ./src/test.cpp -o test && git-all && ./test
CLANG++
copy:
sudo cp ./src/inf_int.h /usr/include
compile test code:
clang++ -linf_int -std=c++20 ./src/test.cpp -o test
everything:
sudo cp ./src/inf_int.h /usr/include && clang++ -linf_int -std=c++20 ./src/test.cpp -o test
everything but for dmytro only:
sudo cp ./src/inf_int.h /usr/include && clang++ -linf_int -std=c++20 ./src/test.cpp -o test && git-all && ./test
for future:
clang++ -c -fPIC ./src/utils.cc -o inf_int.o && clang++ -shared -o libinf_int.so inf_int.o && sudo cp ./libinf_int.so /usr/lib && sudo cp ./src/inf_int.h /usr/include && clang++ -linf_int -std=c++20 ./src/test.cpp -o test && git-all && ./test