You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>Let the contents of the file d:\mystuff\myplacefile.txt be as follows:</p>
280
+
281
+
<pre>; This is a simple place file.
282
+
commonmodule.dll retail
283
+
application.exe files\bin
284
+
mydriver.sys *\drivertree
285
+
extra.cab appendix
286
+
</pre>
287
+
288
+
<p>Now you can run BinPlace with the following command:</p>
289
+
290
+
<pre>binplace g:\somelocation\extra.cab</pre>
291
+
292
+
<p>Because extra.cab is not an executable file, BinPlace will only move it. The root destination directory is d:\projectroot. The class directory for this file is specified in the place file as appendix. The file-type subdirectory is cab (the file name extension of the file being moved). Thus, this file is copied to the location d:\projectroot\appendix\cab\extra.cab.</p>
293
+
294
+
<p>Now use BinPlace on the executable file and its symbol file. To do this, you specify the executable file name -- BinPlace will find the associated symbol file.</p>
295
+
296
+
<p>When you pass an executable file name to BinPlace, it looks for its symbol files in the same directory as the executable file. If it does not find them there, it reads the CodeView record stored in the executable file; if it finds a symbol file path in that record, it looks for symbol files in that path.</p>
297
+
298
+
<p>Note If you specify a symbol file name explicitly, BinPlace will merely move it, not process it.</p>
299
+
300
+
<pre>binplace -a -x -s d:\stripped -n g:\full g:\builddir\application.exe</pre>
301
+
302
+
<p>The executable file uses the same root destination directory as before. Its class directory is files\bin. Thus, it is placed in d:\projectroot\files\bin\application.exe.</p>
303
+
304
+
<p>The symbol file is placed in two locations. The full symbol file (including both private and public symbols) goes to g:\full\files\bin\exe\application.pdb. The stripped symbol file (containing only public symbols) goes to d:\stripped\files\bin\exe\application.pdb.</p>
305
+
306
+
<p>Now, use a similar command on commonmodule.dll:</p>
307
+
308
+
<pre>binplace -a -x -s d:\stripped -n g:\full g:\builddir\commonmodule.dll</pre>
309
+
268
310
<p>build individual projects</p>
269
311
<pre>in the directory of a makefile with build -cz</pre>
0 commit comments