[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Questions about static linking



--------------------------------------------------
From: "m0n0" <ole@monochrom.net>
Sent: Wednesday, June 09, 2010 1:08 PM
To: "mint" <mint@lists.fishpool.fi>
Subject: [MiNT] Questions about static linking


Hello,

just a simple question:

lib1.a needs zlib
lib2.a needs zlib

projectX needs lib1 and lib2,
would the resulting code contain dublicate code for zlib?

No. The library will only be linked once. zlib is not linked to either lib1 or lib2, but linked to the final executable.

Jo Even