Specifications

Embedded System Tools Guide (EDK 6.2i) www.xilinx.com 45
UG111 (v1.4) January 30, 2004 1-800-255-7778
Flow Tool Settings and Required Files
R
Table 2-2 shows the options that are displayed in the compiler options dialog window
under various tabs.
For more information on the options, please refer to Chapter 11, “GNU Compiler Tools”
Flow Tool Settings and Required Files
XPS supports tool flows as shown in Table 2-1. The Main menu has an Options submenu.
You can set various project and tool options, as described below for each menu item.
Compiler Options
This menu opens the same dialog box as one opened by double-clicking on a software
application name. If there is a single application in user’s system, it will automatically
open the dialog box corresponding to the application, otherwise, user will be asked which
software applicatoin they want the options to be set for. User can set various compiler
options in the processor dialog box which opens, as explained earlier in Processor Dialog
Box section.
Project Options
Menu item Options o Project Options opens a dialog box which allows user to specify
various project options. The same dialog can be brought up by clicking on the Project
Options button in the toolbar or by double-clicking on any item in the Project Options tree
in the Project View window. There are three tabs in this dialog box.
Table 2-2: Processor Options
Option Value Type Description
Compiler Options Optimization Level Choose the level of compiler optimization. Equivalent to -O option in
gcc.
Global Pointer
Optimization
Compiler Option This option enables global pointer optimization in the compiler. This
option is only for MicroBlaze.
Debug Compiler Option -g option to generate debug symbols.
Search Paths Directories Compiler, Library and Include paths. Equivalent to -B, -L and -I
option to gcc.
Libraries to Link Linker Option The libraries to link against while building the ELF file (-l option)
Output File File path and name Sets the name of the executable file. Equivalent to -o option of gcc.
Program Start
Address
Hex Value Specifies the start address of the text segment of the executable for
MicroBlaze and the program start address for PPC.
Stack Size Hex Value Specifies the stack size in bytes for the program.
Heap Size Hex Value Specifies the heap size in bytes for the program. Heap size can only
be specified for a PPC Instance.
Pass Options Compiler Options Options can also be passed to the compiler, assembler and linker. The
options have to be space separated.