KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
According to this answer , it should print all function names: [root@ test]# cat hw.c #include <stdio.h> int func(void) { return 1; } int main(void) { func(); printf("%d",6); return 6; } [root@ test]# gcc -Wall hw.c -o hw -finstrument-functions [root@ test]# ./hw 6 [root@ test]# gcc --version gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48) Copyright (C) 2006 Free Software Foundation, Inc. Why is it not working for me?
Tags (comma-separated)
Save Edits
Cancel