l
Hey, maybe you made a mistake and deleted the comment?
hello, no, but i want to edit it and add a details to the question, thank you for your interest and helping, regards On Fri, May 5, 2017 at 3:03 PM Filipe Manco [email protected] wrote:
Hey, maybe you made a mistake and deleted the comment?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cnplab/clickos/issues/37#issuecomment-299458886, or mute the thread https://github.com/notifications/unsubscribe-auth/AbCRsq1OqlhBcJVRu5KeNvo0BNkPiHHzks5r2x4tgaJpZM4NPT-z .
Hello, my issue was how to link a library into clickos, and build the image clickos with this library, instead to use a new elements that need this library? where should i add the path of the library that i want to use, in which file? Thank you,
Hi
Unfortunately there is no straightforward way to add a library to ClickOS. I think the easiest way is to add the library files to the mini-os directory, and add the appropriate object files to stub.mk.
Best
thank you very much, kindly did you mean i add all files of library and objects .o files to library in mini-os directory? and then link it with stub.mk by gcc
You need to add the source files. Then you can search on stub.mk where the list of object files is defined and extend it with the new ones coming from the library. The objects will be built then during the build process.
ok i will try this,
thank you very much