2013å¹´06æ26æ¥ GCC ã§ã³ã³ãã¤ã«ããæã®ãªãã·ã§ã³ããã¤ããªãã¡ã¤ã«ããåå¾ãã GCC 4.7 ã®ãªãªã¼ã¹ãã¼ãã«ãæ°ãã追å ããã -grecord-gcc-switches ãªãã·ã§ã³ãä»ããã¨ãDWARF ãããã°æ å ±ã® DW_AT_producer å±æ§æååã«ã³ã³ãã¤ã©ã®ã³ãã³ãã©ã¤ã³æååã追å ãããããã¨æ¸ãã¦ãããã¨ã«æ°ä»ããã®ã§ããã£ãã試ãã¦ã¿ã¾ããã 試ããç°å¢ã¯ Ubuntu 12.04 64bit ã§ãã gcc ã®ãã¼ã¸ã§ã³ã確èªãã¦ã¿ãã¨ããã4.6.3 ã ã£ãã®ã§ãã¾ã㯠4.6 ã®åºåã確èªãã¦ã¿ã¾ããã³ã³ãã¤ã«ãã C ãã¡ã¤ã«ã¯ä½ã§ãè¯ãã®ã§ãããããã§ã¯ test.c ã¨ãããã¡ã¤ã«ãã³ã³ãã¤ã«ãã¦ãã¾ãã $ cat test.c int f() { return 0; } $ gcc -O2 -c -g test.c $ reade
{{#tags}}- {{label}}
{{/tags}}