Question about static libraries
Is it possible to link static libraries into another static library?
For example, say my program required a.a (or a.lib, whatever), b.a and c.a Could I compile them all into another static library (say d.a) and then only have to link that?
Thanks.
Yes, use ar.
[ Start Here ! | How To Ask Smart Questions | Recommended C++ Books | C++ FAQ Lite | Function Ptrs | CppTips Archive ]
[ Header Files | File Format Docs | LNK2001 | C++ STL Doc | STLPort | Free C++ IDE | Boost C++ Lib | MSVC6 Lib Fixes ]
[ Start Here ! | How To Ask Smart Questions | Recommended C++ Books | C++ FAQ Lite | Function Ptrs | CppTips Archive ]
[ Header Files | File Format Docs | LNK2001 | C++ STL Doc | STLPort | Free C++ IDE | Boost C++ Lib | MSVC6 Lib Fixes ]
Im sorry, I''m not sure what you mean, is that a command line argument for the compiler/linker or a program or...?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement