ã«ãã¬ãã¸ãã¹ããã¼ã« gcc, gcov icc perl ruby ã³ã¡ã³ã ã«ãã¬ãã¸ãã¹ããã¼ã« gcc, gcov$ gcc -g -pg -fprofile-arcs -ftest-coverage -c hello.c ==> hello.o, hello.gcno $ gcc -fprofile-arcs -o hello hello.o ==> hello $ ./hello ==> hello.gcda $ gcov hello.c File 'hello.c' Lines executed:57.14% of 7 hello.c:creating 'hello.c.gcov' ==> hello.c.gcov ãªã³ã¯ã¨ã©ã¼ãåºãå ´åã¯ãªã³ã¯æã«ã -fprofile-arcs ã追å ãã..gcov ãã¡ã¤ã«ã¯ããã¹ããã¡ã¤ã«ã§ã«ãã¬ãã¸çµæãè¨é²ããã.{å®è¡åæ°}
{{#tags}}- {{label}}
{{/tags}}