Question: Consider a directory contains 3 files add.c sub.c calc.c Content of calc.h int add(int,int); int sub(int,int); Content of sub.c int sub(int a ,int b)
Consider a directory contains 3 files add.c sub.c calc.c Content of calc.h int add(int,int); int sub(int,int); Content of sub.c int sub(int a ,int b) { return a+b; } Content of add.c int add(int a ,int b) { return a-b; } Perform steps to build static library using add.c sub.c b. Perform steps to build shared - dynamically linked library using add.c sub.c
Step by Step Solution
There are 3 Steps involved in it
Solution To build both a static library and a shared dynamically linked library using the provided s... View full answer
Get step-by-step solutions from verified subject matter experts
