Linked Questions

2 votes
1 answer
1k views

For example, we have three following libraries: 1.1.......................lib_A.a 1.2.......................lib_B.a 1.3.......................lib_C.a Now I want to create one library which ...
Amish Sharma's user avatar
1 vote
1 answer
783 views

I want to make a static library called libXYZ.a using some existing static libraries: libX.a, libY.a, libZ.a and some object files. The command line I used to build the static library libXYZ.a is: ld ...
tonga's user avatar
  • 12k
0 votes
1 answer
310 views

Possible Duplicate: How to merge two “ar” static libraries into one I have multiple archive file as below folder1/libfolder1.a folder2/libfolder2.a folder3/libfolder3.a all these ...
user1541202's user avatar
65 votes
9 answers
53k views

I have a very similar problem to one described on the cmake mailing list where we have a project dependent on many static libraries (all built from source in individual submodules, each with their own ...
learnvst's user avatar
  • 16.3k
51 votes
4 answers
24k views

I tried the approach in this question, but it seems the linux version of ar is not the same as the mac version since I failed to combine the object files again. What I basically want to do is is ...
user avatar
15 votes
3 answers
20k views

Suppose I have three C static libraries say libColor.a which depends on *libRGB.*a which in turn depends on libPixel.a . The library libColor.a is said to depend on library libRGB.a since there are ...
AIB's user avatar
  • 6,074
9 votes
1 answer
11k views

I am having a two static library a.lib and b.lib(of C language) which is generated using VC6 (Visual studio 6.0) . I want to merge these two libs into one static lib c.lib. How to do this in CLI ...
rashok's user avatar
  • 13.7k
1 vote
2 answers
3k views

I have a C++ project called testlib.pro (using Qtcreator) which will create a static library libtest.a. The project is also included staticlib.a (example) and staticlib1.a. i.e using someother static ...
ilavarasan M's user avatar
4 votes
2 answers
5k views

I am trying to link a static library [1] into another static library [2] with scons. Unfortunately the emitted call to "ar" never contains any path to library [1]. According to this post How to ...
Thomas's user avatar
  • 145
1 vote
2 answers
6k views

so I know that you can't depend a static library to another one but i was wondering if there is something that lets me combine them together. I am trying to setup a game engine project file in vstudio ...
user avatar
2 votes
1 answer
3k views

Is it possible to convert or maybe extract a file from .la library to .a? I've a project where I have my application linked statically against all libraries, but some of them are generated with ...
Grzegorz Głowacki's user avatar
2 votes
2 answers
2k views

With GCC on Linux, is it possible to link a .a into another .a and then only link the resultant .a to my application? Or must my application know of the dependence between one archive and another and ...
Joe's user avatar
  • 7,968
2 votes
1 answer
2k views

I am trying to link with static C API version of the TensorFlow library. I built the static library using the following commands: // get the sources git clone https://github.com/tensorflow/tensorflow....
Danijel's user avatar
  • 8,684
3 votes
1 answer
3k views

I use Android NDK r8 to generate multiple static libraries with include $(BUILD_STATIC_LIBRARY) and I successfully get : lib1.a, lib2.a, lib3.a, etc. Now I would like to merge these static libraries ...
TheFrancisOne's user avatar
3 votes
0 answers
3k views

I have the problem that I want to have a static library of my code because I use the code a lot. It's c++ (otherwise a shared would be an other choice). But that code depends on other static libs. Due ...
Joshua Behrens's user avatar

15 30 50 per page