Specifications
Embedded System Tools Guide (EDK 6.2i) www.xilinx.com 285
UG111 (v1.4) January 30, 2004 1-800-255-7778
Instance Specific Parameters
R
part of the microblaze instance or powerpc instance. Any other compatible archiver can be
specified as an option.
Format
parameter ARCHIVER = ar
This denotes the archiver ar to be used for drivers and libraries.
COMPILER_FLAGS Option
This option specifies compiler flags to be used for compiling drivers and libraries. If the
option is not specified, Libgen automatically uses platform and processor specific options.
It is recommended that this option not be specified in the MSS if the standard compilers
and archivers in the EDK are used. COMPILER_FLAGS option can be defined in the MSS
if there is a need for custom compiler flags that override Libgen generated ones. The
EXTRA_COMPILER_FLAGS option is recommended if compiler flags have to be
appended to the ones Libgen already generates.
Format
parameter COMPILER_FLAGS = ““
EXTRA_COMPILER_FLAGS Option
This option can be used whenever custom compiler flags need to be used in addition to the
automatically generated compiler flags.
Format
parameter EXTRA_COMPILER_FLAGS = -g
This specifies that the drivers and libraries must be compiled with debugging symbols in
addition to the LibGen generated COMPILER_FLAGS.
Example MSS snippet showing processor options
BEGIN PROCESSOR
parameter HW_INSTANCE = my_microblaze
parameter DRIVER_NAME = cpu
parameter DRIVER_VER = 1.00.a
parameter DEFAULT_INIT = xmdstub
parameter XMDSTUB_PERIPHERAL = my_jtag
parameter STDIN = my_uartlite_1
parameter STDOUT = my_uartlite_1
parameter COMPILER = mb-gcc
parameter ARCHIVER = mb-ar
parameter EXTRA_COMPILER_FLAGS = -g -O0
parameter OS = standalone
END










