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

Re: [MiNT] Questions about static linking



Miro Kropacek wrote:
Now I realize, I gave you a little bit confusing answer -- lib1 and
lib2 doesn't 'contain' libz -- it just references libz.

Yes, this is the key concept.

Unfortunately, there is no way to mark explicitly inside lib1 that libz is a dependency (Microsoft compilers allows that). So in the documentation of lib1, you must say "Whenever you link with lib1, you must link with libz, too".

--
Vincent Rivière