50
Development Tools User’s Manual
IXP2400/IXP2800 Network Processors
Developer Workbench
2.7.2.4
Selecting C Object Files to Compile
The C Compiler in the Workbench can compile
one or more C object files into one .list file.
You must select the object files that you want to
compile. To do this:
1. On the
C Compiler
tab, click
Choose
object files
.
The
Object file to include...
dialog box
appears.
2. Enter the absolute path of any external
object files you want to include in the build
in the
External .obj files...
box.
3. Use the arrows to select or deselect any of
your project object files you want to
compile.
2.7.2.5
Removing C Source Files to Compile
To remove any file:
1. Click the desired file in the
Source files to compile
list.
2. Click the
button.
This removes the file from the compilation but not from the project.
2.7.2.6
Selecting the Target .obj File
You can compile your C source file to create an .obj file rather than a .list file.
To do this:
1. In the
Build Settings
dialog box, click the
Compiler
tab.
2. Click
New .obj file
.
The
Compiler - .obj target
dialog box appears.
a. In the
Select project C source file
list, select the name of the .c
file you want to compile.
In the
.obj target file
name
box, the source file you selected
above appears with an .obj extension. You can change the
name of this file if you like. By default, the .obj file that you are creating goes into the
current project folder. If you want to place this file into another folder:
1: Click the
Browse .obj path
button.
2: Select a new folder.
b. Click
OK
when done.