Preventing winkin to or from other architectures

Prevent winkin to or from other architectures using various techniques.

By default, the build tool winks in derived objects built on different architectures. For example, a build on a Linux host might wink in a DO built on a Windows host. If you want to prevent this behavior, use one of the following techniques:

  • Differentiate the build script for different architectures:
    • Add the architecture name to your build script so that the build tool differentiates among the build scripts.
    • Store the architecture name in a macro and pass it to the build tool on the command line.
    • Use architecture-specific sub-directories to store DOs.
  • Make your tools a build dependency by storing them in a VOB. Also, store your system header files in a VOB.