Re: About GNU Toolchain
- From: David Brown <david@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 31 Mar 2008 11:15:59 +0200
huxuelei630@xxxxxxxxx wrote:
Hi, I am a new one in embedded system.
Can any one tell me some good web sites to learn how to build GNU
Toolchain on different platforms?
Thanks.
Here are a couple of general pages to get started:
http://www.kegel.com/crosstool/
http://gcc.gnu.org/wiki/Building_Cross_Toolchains_with_gcc
Theoretically, generating a cross-compiler for a target supported by gcc is just a matter of downloading the standard gcc sources, configuring for your target, and following the standard "make" installation as documented on the gcc web pages. However, in practice there are a few things to consider:
* Libraries
* Additional tools (binutils, debuggers, programmers, simulators)
* Patches (supporting newer devices, or for newer improvements to the target's code)
* Out-of-mainline gcc ports
Thus it is best if you say exactly which target(s) you are thinking of, so that you can get target-specific information.
You also need to tell us *why* you want to build a gcc toolchain. If you just want a gcc compiler for a given host and target, you're better off with a pre-built binary (possibly with paid support). If you want to go through the enlightening and entertaining process of building gcc and friends from scratch, be prepared to spend some time getting it to work (especially if you are using windows). Then there is the middle road of getting ready-to-build source tarballs, which are available from various places and for various host-target combinations.
.
- References:
- About GNU Toolchain
- From: huxuelei630@xxxxxxxxx
- About GNU Toolchain
- Prev by Date: Re: About GNU Toolchain
- Next by Date: Cost of a microcontroller - is it very important?
- Previous by thread: Re: About GNU Toolchain
- Next by thread: Cost of a microcontroller - is it very important?
- Index(es):
Relevant Pages
|