3,973 questions
How to specify gcc compiler additional parameters from Visual Studio project?
Anatoly Knigin
1
Reputation point
Hello,
I try to use Visual Studio for remote Linux development and encountered a problem when trying to use additional libraries (WiringPi actually). For correct linkage the command line in Linux should be like the following: "gcc main.cpp - o Test -lwiringPi -lcrypt -pthread -lm -lrt". It compiles under Linux with no errors, but the question is how to specify these parameters (-lwiringPi -lcrypt -pthread -lm -lrt) in the Visual Studio project? I tried the "Additional options" field, but with no success; they do not appear in the resulting command line.
Developer technologies | C++
Sign in to answer