Displaying 1 result from an estimated 1 matches for "_bilbo".
Did you mean:
bilbo
2002 Jan 02
1
multiple definitions in C code
...ng
into a
dynamic library could lead to different behaviors at different
occasions at run time. Thus
[localhost:~/Desktop/rings] deleeuw% gcc -c -fno-common elrond.c
[localhost:~/Desktop/rings] deleeuw% gcc -c -fno-common galadriel.c
[localhost:~/Desktop/rings] deleeuw% nm -pg elrond.o
000000a8 S _bilbo
00000000 T _elrond
U _printf
U dyld_stub_binding_helper
[localhost:~/Desktop/rings] deleeuw% nm -pg galadriel.o
000000c0 S _bilbo
00000000 T _galadriel
U _printf
U dyld_stub_binding_helper
and then
[localhost:~/Desktop/rings] deleeuw% gcc -bundle -o rings.s...