静的ライブラリと動的ライブラリについて読みました。私の質問は少し具体的です
dlopen dlclose:
Benifit of dlopen is we can start the EXE with out
loading the necessary libraries at the begining. Only when we
need we will load the libratries and unload it from the memory.
これは、動的リンクライブラリの動作です。
私の質問は、ライブラリlibUtlitiesをリンクするかどうかです
ld -o EXE main.o -lUtilities
EXEを実行すると、libUtlitiesがメモリにロードされてから、最初にそこで機能を使用します。
which i observed in dbx (Solaris debugger)
But will not contribute to the size of the EXE.
1.静的リンクまたは動的リンクです。?