Setting build and link options
Use build and link options when you build and link a z/OS® UNIX subproject or individual source files by using actions that are not based on make. When you build or link a subproject or file, you can select one of the available sets of build and link options that you want to use.
About this task
You can use the Build and Link Options preference page to define different sets of build and link options to include in target environment definitions. A set of build and link options includes the build and link options for C/C++ and HLAsm files.
Using
the Build and Link Options preference page, you
can do the following tasks:
- Create a set of build and link options.
- Rename an existing set of build and link options.
- Remove an existing set of build and link options.
- Import a set of build and link options from another location.
- Export a set of build and link options to another location.
- Configure a set of build and link options.
Tip: The &TENV substitution
variable returns the name of the target environment. You can use the &TENV variable
in the Build and Link Options preference page
to redirect the output from your build to a directory specific to
the selected target environment. You can also use the &TENV substitution
variable in any of the preference pages where substitution variables
are allowed. This substitution variable is useful when you want to
build a z/OS UNIX subproject for multiple target environments
and generate your output for each target environment in a different
directory.
Creating a set of build and link options
Procedure
To define a set of build and link options, complete the following steps:
What to do next
Renaming a set of build and link options
About this task
Procedure
- From the list of available build and link options sets, select the set that you want to rename.
- Click Rename. The Rename Build and Link Options window opens.
- Type the new name that you want to apply to this set of build and link options.
- To save your changes and close the window, click OK.
The new name is displayed in the list of available sets of build and link options. All references to this build and link option set are updated to use this new name.
Removing a set of build and link options
About this task
Procedure
- From the list of available build and link options sets, select the set that you want to remove.
- Click Delete. The Delete Confirmation window opens.
- Click OK. The selected set is removed from the list of available sets of build and link options.