Making a new cross-compile target: where to begin?

software.au@gmail.com software.au@gmail.com
Wed Oct 19 20:59:00 GMT 2005


> Well, as far as I have seen, most of the internals are documented in the
> code itself. The best way to learn how it works, in my opinion, is to get
> a good code cross-reference tool. The files you mostly want to look at are
> in gcc/config in a build tree.
>
> Good luck and have fun,
> Jonathan Bastien-Filiatrault

Maybe a good place to get clues is to look at how GCC and binutils are
built for DOS, e.g. DJGPP.  (I've asked DJ for some help).  Starting
with the config stuff for DJGPP will probably help me along.  DOS is a
similar job to Minix in that it has less facilities than systems like
full-blown Unixen.

I will try to have fun, after all the blood and sweat parts anyway. :)
 I'm really eager to learn how all this GCC magic works.

James



More information about the Gcc mailing list