Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は Auto-tools (言語は C++) を使用して小さなオープン ソース ソフトウェアを作成しており、実行プログラムを生成/インストールしました。いくつかのモンテカルロ統合が使用されており、コードが遅いです。gprof を使用して改善したいのですが、gprof を有効にする方法を知りたいですか? 私は試しました: ./configure CFLAGS=-pg && make && sudo make install は動作しません。
C++を使用しているため、CFLAGSではなくCXXFLAGSが必要です。