How to build a standalone GCC cross compiler using Melas
Building GNU GCC cross-compilers can be a somewhat dark art, and can be quite complicated if you are trying to do it for the first time, and especially frustrating if it is something that you need to do in order to reach some very different goal. Numerous tutorials have been written about how to do this (for various versions of GCC, Binutils and glibc/uclibc), as well as a number of tools, the most famous of which is probably Dan Kegel’s crosstool.
Melas is a generic build assistant tool, which can make this procedure quite easy in some scenarios, given the right mls file that describes the procedure. This post explains how to easily make a gcc cross-compiler with Melas using an existing mls definition file.



