Groups
Sign in
Groups
KOZOS友の会
Conversations
About
Send feedback
Help
MakefileのDKZLOADオプションの役割を教えてください。
92 views
Skip to first unread message
pq9f0...@gmail.com
unread,
Sep 28, 2018, 10:09:31 AM
9/28/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to KOZOS友の会
1stステップのp.33のMakefileで,
CFLAGS += -DKZLOAD
というコンパイルオプションが指定されているのですが,これはどのような役割があるのでしょうか?
34-35ページにて,Makefileで指定しているCFLAGSとLFLAGSの説明がそれぞれなされているのですが,
-DKZLOADオプションに関する記述が見つけられず,困っています.
ご教授いただければ幸いです。
何卒宜しくお願いいたします.
Keita Kasugai
unread,
Sep 28, 2018, 8:43:38 PM
9/28/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to KOZOS友の会
このオプションをつけた場合、-Dに続く文字列(この場合KZLOAD)がマクロ定義(#define KZLOAD 1)されたものとしてコンパイルされます。
gccのDオプションで検索するとたくさん出てきますよ
pq9f0...@gmail.com
unread,
Sep 30, 2018, 7:26:49 AM
9/30/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to KOZOS友の会
ご返信ありがとうございます。
Dオプションというオプションがあるのですね。
大変勉強になりました。
2018年9月28日金曜日 23時09分31秒 UTC+9
pq9f0...@gmail.com
:
Reply all
Reply to author
Forward
0 new messages