...
We use this in Seattle to build our VS2005 projects. I've attached a log file for the compilation of astro.
A nutshell of the key stepsThe key is to generate a prelink command:
Code Block |
---|
bindexplib -o ..\vcc80dbg\astro\symbols.def astro ..\vcc80dbg\astro\*.obj lib /def:..\vcc80dbg\astro\symbols.def /out:..\vcc80dbg\astro.lib |
These two comamnds produce both astro.lib, containing the stubs to be linked at build time, and astro.dll, loaded at runtimewhen creating the dll, with a command like this:
Code Block |
---|
link /DLL /OUT:"..\vcc80dbg\astro.dll" ..\vcc80dbg\astro.lib [...]
|
with the ... for the link options, and a list of all the lib files that the module depends on..