Font Size: a A A

A Port Of GNU Toolchain To Build Cross-compiling Environment Of Embeded ARM-MINIX

Posted on:2009-05-01Degree:MasterType:Thesis
Country:ChinaCandidate:Z Y ZhangFull Text:PDF
GTID:2178360245480883Subject:Computational Mathematics
Abstract/Summary:PDF Full Text Request
Nowadays,information technology has been developing in an amazing speed,and digital products are becoming part of every people's daily life,which are luxury articles just few years before.All these contribute to the development of embedded OS(operating system)and embedded applications.It seems more and more popular to use GNU/Linux as the host machine to build an cross-compiling environment to compile program for the embedded devices.And the open source GNU tool-chain is the ideal cross-compiler for embedded products development.However the GNU tool-chain can not satisfy the new platforms that are coming,there are still many platforms it doesn't support,for example the ARMMINIX platform,on which we are going to port the minix to.On the background of building cross-compiling environment for embedded minix on the GNU/Linux host,the thesis describes the basic components and construction of the cross-compiling system,and the advantage to use GCC to build cross-compiling system at first.Then,it describes the target platform's architecture,and it analyzes the GCC compiler,its design and architecture.In the mean time it introduces the GNU Binutils' functions and how to use it.Then,it analyses the infrastructure and source files of GAS and GLD in the GNU tool-chain.As BFD is fundamental to GNU Binutils(GAS and GLD use BFD to operate on the object file),in this part we analysis BFD library's mechanism and data structure especially.Later it describes the way to port GCC cross-compiling system,the difficulties we met,and some technical details.This concerns some important C source files,Makefiles,configure files.Especially we implement the retargeting method of BFD,GAS and GLD.After that it explains how to set the arguments during the building of cross-compiling environment on the GNU/Linux host. In the end it summarizes the whole building process,and the work we haven't done.
Keywords/Search Tags:embedded operating system, cross compiling, GNU tool-chain, GCC, GAS, GLD
PDF Full Text Request
Related items