7

how to include lib when compiling C code with gcc command in linux

view full story
linux-howto

http://stackoverflow.com – I want to run my C code located in desktop with the header files located in other location. What should be the appropriate gcc command? I have attached the code below. I am asking kind considerations and help on this regards. #include <config.h> #endif #include <stdio.h> #include <unistd.h> #include <string.h> #include <errno.h> #include <fcntl.h> #include </usr/include/pulse/simple.h> #include </usr/include/pulse/error.h> #define BUFSIZE 32 int main(int argc, char*argv[]) { /* The Sample format to use */ static const pa_sample_spec ss (HowTos)