Question: -Suppose you have a C program whose main function is in main.c and has other functions in the files input.c and output.c: - What command(s)
-Suppose you have a C program whose main function is in main.c and has other functions in the files input.c and output.c: - What command(s) would you use on your system to compile and link this program? -How would you modify the above commands to link a library called process 1 stored in the standard system library directory? -How would you modify the above commands to link a library called process 2 stored in your home directory? -Some header files need to be read and have been found to be located in a header subdirectory of your home directory and also in the current working directory.- -How would you modify the compiler commands to account for this
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
