All Questions
7
questions
0
votes
0
answers
26
views
Makefile runs an unspecified command [duplicate]
I have a makefile that compiles C source files into corresponding object files and then archives those object files. This is what the makefile looks like:-
.PHONY = all clean fclean re
SRC = ./src/
...
0
votes
0
answers
256
views
Different ways to generate a shared library
I have a source code which depends on some boost libraries like filesystem, system, datetime. I want to create a shared library(libapi.so). Since this so will be given to clients, I don't want a ...
1
vote
0
answers
303
views
Different ways of linking archive
I have an archive named libapi.a which is being generated by makefile.
This libapi.a depends on some of the boost libraries like libboost_system.a, libboost_filesystem.a and libboost_datetime.a
Now in ...
2
votes
1
answer
565
views
deterministic mode in ranlib in gnu utilities
i was reading about ranlib that update the index or generates an index of contents of an archive
here
in the option that you can provide to ranlib there is -D
and -U
i read the definition but i ...
3
votes
1
answer
688
views
Object files not properly added to archive on mac
I am trying to build an archive from a collection of object files.
I am doing this with
ar -rs my_archive.a foo.o bar.o other_object_files.o.
On a linux machine everything is fine but when I try the ...
13
votes
1
answer
7k
views
Turn thin archive into normal one
I'm building V8, and by default it builds as a "thin" archive, where the .a files essentially just contain pointers to the object files on your filesystem instead of containing the object files ...
2
votes
1
answer
384
views
Improve ar archiving performance
I have a project with a huge amount of auto-generated code, which we build into a static library before linking into the final executable. We use gcc/gnat 5.04a There are so many files, we have to ...