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

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

1 Expert Approved Answer
Step: 1 Unlock

Solution To build both a static library and a shared dynamically linked library using the provided s... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Operating System Questions!