Specifications
170 www.xilinx.com Embedded System Tools Guide (EDK 6.2i)
1-800-255-7778 UG111 (v1.4) January 30, 2004
Chapter 11: GNU Compiler Tools
R
Initialization files are searched in the following order
(1)
: 
1. Directories passed to the compiler with the -B dir name option.
2. ${XILINX_EDK}/gnu/processor/sol/processor/lib
On Windows Xygwin Shell
The GNU compilers (mb-gcc and powerpc-eabi-gcc) search certain paths for libraries and 
header files. 
Libraries are searched in the following order:
1. Directories passed to the compiler with the -L dir name option.
2. Directories passed to the compiler with the -B dir name option.
3. %XILINX_EDK%/gnu/processor/nt/processor/lib
4. %XILINX_EDK%/lib/processor
Header files are searched in the following order:
1. Directories passed to the compiler with the -I dir name option.$
2. %XILINX_EDK%/gnu/processor/nt/processor/include
Initialization files are searched in the following order:
1. Directories passed to the compiler with the -B dir name option.
2. %XILINX_EDK%/gnu/processor/nt/processor/lib
File Extensions
The GNU compiler can determine the type of your file depending on the 
extension.Table 11-4 illustrates the valid extension and the corresponding file type.The gcc 
wrapper will call the appropriate lower level tools by recognizing these file types.
1. Initialization files such as crt0.o are searched by the compiler only for mb-gcc. For 
powerpc-eabi-gcc, the C runtime library is a part of the library and is picked up by 
default from the library libxil.a
Table 11-4: File Extensions
Extension File type
.c C File
.C C++ File
.cxx C++ File
.cpp C++ File
.c++ C++ File
.cc C++ File










