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.
- posted
16 years ago
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.
Do you want to do this as a learning exercise - or just to get your hands on a particular built toolchain? If the latter then which platform are you interested in? You will probably be able to download a pre-built version and save yourself the trouble.
-- Regards, Richard. + http://www.FreeRTOS.org & http://www.FreeRTOS.org/shop 17 official architecture ports, more than 5000 downloads per month. + http://www.SafeRTOS.com Certified by TÜV as meeting the requirements for safety related systems.
Here are a couple of general pages to get started:
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:
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.
Le Mon, 31 Mar 2008 01:16:53 -0700, snipped-for-privacy@gmail.com a écrit:
Hi !
Outside the GNU compilers and binutils, which are sometimes fairly easy to construct, it happens that the real problems come with (for example) the implementation of the Standard C/C++ Library for a particular architecture ...
Some programmers tend to forget that the code quality depends heavily on the quality of libraries.
In conclusion, I would say that the important point to consider is: Besides tools (gcc, gdb, binutils), libraries are in production state for this architecture or not ?
-- HBV
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.