gcc -Wl,-Map=hoge.map -g -o hoge.out hoge.c
こんな風に使う
$cat hoge.map | grep main
0x00000000004003a8 __libc_start_main@@GLIBC_2.2.5
0x0000000000400478 main
Go to list of users who liked
More than 5 years have passed since last update.
gcc -Wl,-Map=hoge.map -g -o hoge.out hoge.c
こんな風に使う
$cat hoge.map | grep main
0x00000000004003a8 __libc_start_main@@GLIBC_2.2.5
0x0000000000400478 main
Register as a new user and use Qiita more conveniently
Go to list of users who liked