On Fri, Oct 03, 2014 at 07:32:34AM -0400, Neil Horman wrote: > This makes good sense to me. A single archive is just easier in the static > case, since the resulting binary will strip out unused code anyway, and > multiple > libraries are needed in the shared case so that we don't wind up having to > load > more code than is needed at run time. > > Neil
This assertion is not true. Because the DPDK doesn't work if you don't specify the whole-archive link option. Which explicitly prevents stripping out any "unused code". Otherwise your PMD's will refuse to initialize. This along with backward compatibility is why I was advising to build the full static library and the sublibraries so it will just work for everybody by default. Matthew.