Question: Let a and b denote object modules or static libraries in the current directory, and let ab denote that a depends on b, in the
Let a and b denote object modules or static libraries in the current directory, and let a→b denote that a depends on b, in the sense that b defines a symbol that is referenced by a. For each of the following scenarios, show the minimal command line (i.e., one with the least number of object file and library arguments) that will allow the static linker to resolve all symbol references.

A. p.o libx.a B. p.o libx. a liby.a C. p.o libx.aliby.a and liby.alibx.ap.o
Step by Step Solution
3.49 Rating (159 Votes )
There are 3 Steps involved in it
Placing static libraries in the wrong order on the command line is a common ... View full answer
Get step-by-step solutions from verified subject matter experts
