Miscellaneous option category for the c linker – HP Integrity NonStop J-Series User Manual
Page 57

Figure 9 Miscellaneous option category for the C Linker
All tools include a Miscellaneous options page to specify most tool options. Explicitly defined tool
options, such as the Verbose check box in
, are for common options and are
provided for your convenience. Alternately, enter -Weld=-verbose directly in the additional
options box.
Option categories are required for the following entities:
•
Object files from other projects. Specify these in the Other objects list on the Miscellaneous
page of linkers. See
. Object files listed in Other objects are written to the
objects.mk
file, where they become part of the USER_OBJS definition, as in:
USER_OBJS := ../../linkfileproj/Debug/linkfile.o
$(USER_OBJS)
is passed to the linker in the final build step in the main makefile.
•
Libraries from other projects. Specify these, as well as library search paths, in the Libraries
option category for linkers. Libraries listed in the Libraries option category are written to the
objects.mk
file, where they become part of the LIBS definition, as in:
LIBS := -lfoo -lbar
NSDEE prepends -l to each library added to the list of libraries. $(LIBS) is passed to the
linker in the final build step in the main makefile.
•
Include paths. Specify these in the Includes options category for compilers. Adding include
paths this way results in the include paths being added to the top-level Includes folder of your
project, which in turn causes CDT's C/C++ indexer to search your include paths for symbols
in your source files.
Tool chains
57