Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We use this in Seattle to build our VS2005 projects. I've attached a log file for the compilation of astro.

The key is to generate a prelink commandthe special prelink step:

Code Block
bindexplib -o ..\vcc80dbg\astro\symbols.def astro ..\vcc80dbg\astro\*.obj
lib  /def:..\vcc80dbg\astro\symbols.def  /out:..\vcc80dbg\astro.lib

...

Code Block
link /DLL /OUT:"..\vcc80dbg\astro.dll" ..\vcc80dbg\astro.lib [...]

Wiki Markup
with the \[...\] for the link options, and a list of all the lib files that the module depends on.

Thus, sequence bindexplib-lib-link takes the set of object files, and creates a lib and dll.