ChuckZ

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • ChuckZ
    Participant

    Thanks for the reply, ket.
    I did figure out some of the things I needed as well which I wanted to share.
    There is value to me in getting headers back from the target to the Windows host even if the PI does your build: It gives you intellisense.
    They get stored into locations like this…

    C:UsersMyNameAppDataLocalVisualGDBRemoteSourceCache10.124.212.55000includec++4.6

    When I created a new Hello world GDB I chose to see the advanced options. That told me a lot about what is going on under the hood. I chose to refresh the cache (with each build?) and figured that would ensure I get any new headers installed on the target.

    For linking, I found that many of the libraries are included by setting special linker flags. For example, to get the usb and pthread libraries, you change the .mak files to look like this.
    ADDITIONAL_LINKER_INPUTS := -lusb -lpthread

    I don’t do a lot of Linux C development and this is probably common knowledge to Linux developers.

Viewing 1 post (of 1 total)