Static Libraries and dependencies

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Russell Thamm (russell.thamm_at_dsto.defence.gov.au)
Date: 07/20/04


Date: 19 Jul 2004 20:39:34 -0700

Hi,

It appears that MSVC 6 has a different concept of dependencies that I do.

If I specify that Library B is dependent on Library A, I mean that I want
Library A to be built before Library B.

I DO NOT mean, include Library A into library B, which is what MSVC
appears to do.

Can I configure MSVC to stop this behaviour?

I find it totally unbeleivable that specifying dependencies changes
the content of a static library.

totally perplexed



Relevant Pages

  • Re: Compiling under ddk 3790
    ... > It would be with lower case `s`, and, in modern compilers ... Is it really the mechanism of "Checking Dependencies" in MSVC and in BUILD? ... Prev by Date: ...
    (microsoft.public.development.device.drivers)
  • Re: [PATCH] make miniconfig (take 2)
    ... that symbols can be set by dependencies, ... miniconfig is an action changing the default state. ... So really a miniconfig can't specify an inconsistent state, ... I suspect there are guard symbols that are also ...
    (Linux-Kernel)
  • Re: Using MAPI to send MMS: Link Errror
    ... Input and added mapi.lib to Additional dependencies ... any other parameters i need to specify? ... i tought the header files should include these two ... // Replace with specific error handling. ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: Attach event/function to links within span tag
    ... >> Michael Winter wrote: ... > short notation and removes any dependencies on the color ... > That seems to make it rather clear that #00f and #0000ff specify the ... > onload attribute or the onload property? ...
    (comp.lang.javascript)
  • Re: How can I specify dependencies in VS2005 like I did in VC 6?
    ... tab of workspace pane, and specify that a file depended on another file. ... In fact, I'm having trouble figuring out if dependencies work at all, as sometimes my builds don't seem to rebuild correctly if I change header files. ... What I want to do is automatically generate a .h file from custom properties set in a project, and then include that .h file in the build of my .rc file, via the resource includes. ... Any pointers to documentation that explains how builds actually determine dependencies, and how I can manually specify it would be greatly appreciated. ...
    (microsoft.public.vc.ide_general)