質問編集履歴
1
文章を修正
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
「 ` 」と「 \ 」というコンパイルコマンドの詳細が知りたい
|
test
CHANGED
@@ -1,9 +1,21 @@
|
|
1
1
|
提示コマンドですがいくつかわからないコマンドがあるのですがこれについて知りたいです。以下のフラグはそれぞれどういう意味をしているのでしょうか?調べましたが`-O2`までしか出てこなくてわかりません
|
2
2
|
|
3
|
+
1,「 ` 」の意味
|
4
|
+
2,「 \ 」の意味
|
5
|
+
|
6
|
+
##### コマンドA
|
3
7
|
```
|
4
8
|
`Magick++-config --cppflags --cxxflags --ldflags --libs`
|
5
9
|
```
|
10
|
+
##### コマンドB
|
11
|
+
```
|
12
|
+
c++ `Magick++-config --cxxflags --cppflags` -O2 -o demo demo.cpp \
|
13
|
+
`Magick++-config --ldflags --libs`
|
14
|
+
```
|
6
15
|
|
16
|
+
|
17
|
+
|
18
|
+
ImageMagick: https://imagemagick.org/script/magick++.php
|
7
19
|
g++: https://kaworu.jpn.org/cpp/g++
|
8
20
|
-O2: https://kaworu.jpn.org/cpp/g%2B%2B_%E6%9C%80%E9%81%A9%E5%8C%96%E3%82%AA%E3%83%97%E3%82%B7%E3%83%A7%E3%83%B3#.E6.A6.82.E8.A6.81
|
9
21
|
|