>I'm trying to build an obj file, say foo.obj so that it is pre-linked
>with its dependencies. However I do not want to generated an executable
[quoted text clipped - 3 lines]
>with it, so when I link the final executable file I won't have to
>provide foo.obj's dependencies at that time.
Eric,
I suspect that what you're looking for is #pragma comment (lib,..)
Dave
Ben Voigt - 24 Nov 2006 15:17 GMT
> >I'm trying to build an obj file, say foo.obj so that it is pre-linked
>>with its dependencies. However I do not want to generated an executable
[quoted text clipped - 7 lines]
>
> I suspect that what you're looking for is #pragma comment (lib,..)
The final project would still need the dependent libraries available.
However, making a DLL would act in the fashion desired, unless you are
trying to avoid that when you say "I do not want to generate an executable
right away".
> Dave
David Lowndes - 24 Nov 2006 16:08 GMT
>> >I'm trying to build an obj file, say foo.obj so that it is pre-linked
>>>with its dependencies. However I do not want to generated an executable
[quoted text clipped - 9 lines]
>
>The final project would still need the dependent libraries available.
That's true. I'd read the question more as "I wouldn't have to specify
foo.obj's dependencies at that time"
Dave