Skip to content

l #37

Open
Open

Description

@luca201311
No description provided.

Activity

  1. changed the title [-]Link a Library to clickOs [/-] [+]l[/+] on May 4, 2017
  2. fmanco commented on May 5, 2017

    @fmanco

    Hey, maybe you made a mistake and deleted the comment?

  3. luca201311 commented on May 5, 2017

    @luca201311
    Author
  4. luca201311 commented on May 9, 2017

    @luca201311
    Author

    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,

  5. fmanco commented on May 9, 2017

    @fmanco

    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

  6. luca201311 commented on May 9, 2017

    @luca201311
    Author

    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

  7. fmanco commented on May 9, 2017

    @fmanco

    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.

  8. luca201311 commented on May 9, 2017

    @luca201311
    Author

    ok i will try this,

    thank you very much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions