Download Embedded System Tools Reference Manual
Transcript
R Chapter 8 GNU Compiler Tools This chapter describes the GNU compiler tools, and is organized as follows: • “Overview” • “Additional Resources” • “Compiler Framework” • “Common Compiler Usage and Options” • “MicroBlaze Compiler Usage and Options” • “PowerPC Compiler Usage and Options” • “Other Notes” Overview EDK includes the GNU compiler collection (GCC) for both the PowerPC® (405 and 440) processors and the MicroBlaze™ processor. • The EDK GNU tools support both the C and C++ languages. • The MicroBlaze GNU tools include mb-gcc and mb-g++ compilers, mb-as assembler and mb-ld linker. • The PowerPC processor tools include powerpc-eabi-gcc and powerpc-eabi-g++ compilers, powerpc-eabi-as assembler and the powerpc-eabi-ld linker. • The toolchains also include the C, Math, GCC, and C++ standard libraries. • The PowerPC and MicroBlaze processor GCC tools are constructed using open source GCC 4.1.1 sources. The compiler also uses the common binary utilities (referred to as binutils), such as an assembler, a linker, and object dump. The PowerPC and MicroBlaze compiler tools use the GNU binutils based on GNU version 2.16 of the sources. The concepts, options, usage, and exceptions to language and library support are described Appendix A, “GNU Utilities.” Additional Resources GNU Information • GCC 4.1.1 release feature references: http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc • Invoking the compiler for different languages: http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc/InvokingG_002b_002b.html#Invoking-G_002b_002b Embedded System Tools Reference Manual UG111, EDK 11.3.1 www.xilinx.com 109