The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: MazeGen on October 04, 2005, 05:18:50 PM

Title: Merge more object files using ML or LINK
Post by: MazeGen on October 04, 2005, 05:18:50 PM
Hi,
I release my project as one object file.
I decided to split it into two object files: one file with the main function and one object file with resource functions (called sdk), to make things clearer.
There are more different resource functions in sdk and I don't want to mix its data/code/etc at compile-time, because they aren't attendant to each other. So far, I can compile one function or group of functions into one object file.
The problem lies in fact that an user of the sdk don't want more than one object file.
So the question is how to merge these object files to make one sdk.obj object file? I searched ML nad LINK options but found nothing.
Title: Re: Merge more object files using ML or LINK
Post by: MazeGen on October 04, 2005, 06:01:21 PM
It just comes to my mind that the only solution would be static library (.lib).

But the original question still remains as it is interesting problem.
Title: Re: Merge more object files using ML or LINK
Post by: Vortex on October 05, 2005, 05:36:16 AM
Quoteor group of functions into one object file.

Mazegen, this one seems to be only solution if you don't want use static libraries.