Is there a way to link object files into a library? #629
-
Let's say I have 3 files that I want to turn into one .lib file. Presumably, they're object files, although they could also be library files. Is there any way to do that with the linker rather than just doing a series of hacky .INCLUDEs? I spent a while in the manual and couldn't find anything like it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
AFAIK, a single assembly file maps to a single I think concat'ing libs into a single file would be interesting, but it's probably subject to a bunch of design decisions that Ville doesn't want to deal with :P. |
Beta Was this translation helpful? Give feedback.
AFAIK, a single assembly file maps to a single
.lib
file, just like a single assembly file maps to a single.obj
file. So why would you use.lib
? Because you don't have to specify as much info (MEMORYMAP
) about your target.I think concat'ing libs into a single file would be interesting, but it's probably subject to a bunch of design decisions that Ville doesn't want to deal with :P.