Static Link

Sysprogs forums Forums VisualGDB Static Link

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #21001
    sguthery
    Participant

    What is the recommended way of asking VisualGDB to do static links?  Hacking its make file is, of course, one way but perhaps there is a better one.

    Thanks in advance for any guidance.

    #21010
    support
    Keymaster

    Hi,

    There is no special GUI option for that, however you can accomplish it by adding “-Wl,-Bstatic -l<library name>” to the “Additional linker inputs” field. If this doesn’t work, please let us know your project type (MSBuild/Make/CMake/QMake) and we could suggest a better option.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.