canary icon indicating copy to clipboard operation
canary copied to clipboard

how to build .so file

Open hotpeperoncino opened this issue 8 years ago • 2 comments

I'd like to use .so file and use -load option. can I have how to build it ?

hotpeperoncino avatar Dec 21 '16 07:12 hotpeperoncino

Currently, the building script does not support. But you can easily do it because you can find all .o files in canary/lib/ directory after building with current script. With those .o files, you can use the command gcc -shared to build a shared library (i.e., .so).

qingkaishi avatar Dec 21 '16 08:12 qingkaishi

thank you for your reply. -fPIC option is required for each compilation...

2016/12/21 17:03 "Qingkai Shi" [email protected]:

Currently, the building script does not support. But you can easily do it because you can find all .o files in canary/lib/ directory after building with current script. With those .o files, you can use the command gcc -shared to build a shared library (i.e., .so).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/qingkaishi/canary/issues/2#issuecomment-268460362, or mute the thread https://github.com/notifications/unsubscribe-auth/APoHgYe2j-Ox5zqaaLyNUl_v7X7i-gBQks5rKN00gaJpZM4LSqg9 .

hotpeperoncino avatar Dec 21 '16 10:12 hotpeperoncino