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

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

1 Expert Approved Answer
Step: 1 Unlock

Placing static libraries in the wrong order on the command line is a common ... 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 Computer Systems A Programmers Perspective Questions!