42
Development Tools User’s Manual
IXP2400/IXP2800 Network Processors
Developer Workbench
2.6.2.1
General Build Settings
The following settings, on the
General
tab, apply to the compiler as well as the assembler.
Specifying Preprocessor Definitions:
Use the
Preprocessor definitions
edit box to enter preprocessor definitions that will be applied to
all microengine list file assembles and compiles in the project. After entering preprocessor
definitions on the
General
page, when you open the
Assembler
or
Compiler
pages you will see
that the General definitions appear in the command line just prior to any microengine-specific
settings. This means that an engine-specific preprocessor definition will override a general setting.
Specifying Processor Revision Range:
The network processors are available in different versions (steppings) with different features. You
can specify a range of revisions for which you want your microcode assembled.
covers this topic in more detail.
Do the following:
1. On the
Build
menu, click
Settings
.
The
Build Settings
dialog box appears.
2. Click the
General
tab.
3. Select the range of processor revisions on
which you want the linked code to run.
Note:
Select from the
Minimum revision
and the
Maximum revision
lists. If you select
no limit
as the
maximum revision number then you are specifying that your microcode is written to run on all
future revisions of the processor.
2.6.2.2
Specifying Additional Include Paths
The Assembler needs to know which folders contain the files referenced in
#include
statements
in Assembler source files.
To do this:
1. On the
Build
menu
,
click
Settings
.
2. Click the
General
tab.
To specify additional Assembler include
directories, the following controls are provided:
•
A
button to specify a new path.
Type the path name in the space provided or
use the browse button
to search for it.
You must double-click the include path
listed in order to display the browse button.