Libraries for crosscompiler

Sysprogs forums Forums VisualGDB Libraries for crosscompiler

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #30342
    vico
    Participant

    Hello,

     

    I build project for Raspberry Pi with help of VisualGDB , Visual c++ and GCC 8.3.0 GDB 8.2.1 Revision 3 Raspbian Buster crosscompiler that comes with it. It runs fine, but how to deal in cases when I need link to libraries? Should I build all required libs with my current crosscompiler? For example how to deal with libxml2 library?

    #30347
    support
    Keymaster

    Hi,

    You can simply synchronize the cross-toolchain’s sysroot with the target via VisualGDB Project Properties -> Build Settings -> Synchronize Sysroot and then use the regular syntax for library names and directories. You can find more information on the following page: https://visualgdb.com/documentation/linkerinputs/

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