using c library in another c library, linux
Hi All I wrote a static library (libA) that uses another library (libB). How can I link libB to my libA in eclipse (linux)? i cannot find linkage options in project properties, they are not on there usual 开发者_运维技巧place. Thx
Static libraries don't link. They are an archive of object files (.o
files). These archives are then taken as arguments during a linking phase, have their object files extracted and linked into the application at that time. As such, static libraries cannot link against anything.
精彩评论