Previous Next

BinPlace Destination Directories

BinPlace creates a directory tree to hold the files it is placing. The structure of that tree is determined by the parameters that are passed to BinPlace's command line, the values of certain environment variables, and the contents of a text file known as a place file.

BinPlace will place files if one of two conditions is met:

  1. The file is specified on the BinPlace command line.
  2. The file is a symbol file residing in the same directory as its associated executable file, and the executable file is specified on the command line. In this case, the symbol file and the executable file will be placed in different directories. BinPlace may also perform splitting or stripping (see Public Symbols and Private Symbols) or stripping (see Symbol File Systems) in this scenario.

When BinPlace places files, it will automatically overwrite an older file with the same name. However, BinPlace will not, by default, overwrite a newer file. In particular, if a newer (or identical) version of an executable file is present, neither the executable file nor any associated symbol files will be written to the disk. If you wish BinPlace to overwrite files regardless of their timestamp, use the -f command-line option.

File Destinations

The name of the directory into which BinPlace places any file specified on its command line is created by concatenating two directories: the root destination directory and the class subdirectory. (The directories can have any names you choose, but typically the root destination directory is the root of the directory tree where you are placing your files, and the class subdirectory is a subdirectory where it seems logical to place a specific file or group of files.)

Symbol File Destinations

When an executable file is listed on BinPlace's command line and there is an associated symbol file in the same directory, BinPlace will copy (or alter) the symbol file as well. The directory in which this symbol file is placed is created by concatenating three directories: the symbol root directory, the class subdirectory, and the file-type subdirectory.

There is one exception to this algorithm. If neither -s nor -n is supplied, the full symbol files will be placed in the same location as the binaries.

Note  If you list the symbol file name in BinPlace's command line, BinPlace will move it like any other file and will not examine its contents. To use BinPlace's symbol file manipulation techniques, you must list the executable file name, not the symbol file name.