Contributing to cross-compiling

David Daney ddaney@avtrex.com
Thu Jan 31 03:45:00 GMT 2008


Manuel López-Ibáñez wrote:
> On 31/01/2008, Ben Elliston <bje@au1.ibm.com> wrote:
>> Once you get into GCC in enough detail, you'll come to appreciate that
>> cross-compiling is not particularly special.  It's just the compiler
>> running on a different system type to the code being generated.  There
>> is certainly a bit of intricacy in building GCC for such an environment,
>> but conceptually, it's very straightforward.
> 
> Nonetheless, if someone decided to go through the hassle of collecting
> tutorials and hints for various cross-compiling configurations in the
> wiki, I think many users will appreciate it. It is still considered by
> many to be a "dark art"[*].
> 
> I personally remember trying to build a win32 dll in linux-gnu and
> giving up after following 2 or 3 different methods out there.
> 

For linux-gnu cross compilers I would recommend looking at:

http://cross-lfs.org/

David Daney



More information about the Gcc mailing list