D
David T. Ashley
I have a large project on a Linux box that may eventually have several
hundred 'C' source files, which need to be compiled and linked into several
executables.
Not all of the executables will use all of the files (i.e. there would be no
linker references to some symbols).
The project will naturally be broken down into several or more
subdirectories.
Questions:
a)What is the best way in general to build? Compile all the .c files into
corresponding .o files, and then link the .o files explicitly?
b)Any thoughts on doing this with "make"?
c)Any thoughts on the limitations of the linker?
Thanks.
hundred 'C' source files, which need to be compiled and linked into several
executables.
Not all of the executables will use all of the files (i.e. there would be no
linker references to some symbols).
The project will naturally be broken down into several or more
subdirectories.
Questions:
a)What is the best way in general to build? Compile all the .c files into
corresponding .o files, and then link the .o files explicitly?
b)Any thoughts on doing this with "make"?
c)Any thoughts on the limitations of the linker?
Thanks.