I just appended the libraries to my test library:
debian-armel:~# nm foo.o | grep __sync_bool_compare_and_swap_4
U __sync_bool_compare_and_swap_4
debian-armel:~# g++ -shared foo.o -o libfoo.so -lgcc_s -lgcc
debian-armel:~# nm -D libfoo.so | grep __sync_bool_compare_and_swap_4
debian-armel:~#
What I don't know how to do at the moment is how to do the same in CMake
without touching the CMakeLists.txt files. I asked yesterday on CMake list,
but it seems that I have to be registered to ask anything.
Regards,
Alberto
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]