Preventing winkin to or from other architectures

You can prevent winkin to or from other architectures using various techniques.

By default, clearmake 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 clearmake differentiates among the build scripts. For example, include echo $CPU.
    • Store the architecture name in a macro and pass it to clearmake on the command line.
    • Use architecture-specific subdirectories to store DOs.
  • Make your tools a build dependency by storing them in a VOB. Also, store your system header files in a VOB.