If I wanted to link the following objects and libraries,
p.o → libx.a → p.o
Where a → b denotes that b defines a symbol that is referenced by a.
UNIX% gcc p.o libx.a
be enough in the command line or do I need to do something like:
UNIX% gcc p.o libx.a p.o