This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: porting gcc/binutils
- From: Mike Stump <mrs at apple dot com>
- To: andrija dot radicevic at zg dot t-com dot hr
- Cc: gcc at gnu dot org
- Date: Wed, 14 Dec 2005 17:15:00 -0800
- Subject: Re: porting gcc/binutils
- References: <1134603068.4611.38.camel@marvin.home>
On Dec 14, 2005, at 3:31 PM, Andrija RadiÄeviÄ wrote:
I'm trying to port gcc and binutils to a new target and I hoped to
find
a brief procedure on that matter on the net, but was unsuccessful. OK,
the GCC internals is quite a resourceful document and one can learn a
lot by examining the source tree, but It would be very helpful if
there
would be a brief procedure description (HOWTO). Like what to do first,
port gas I guess, and what to do (like create your directory(s), write
ISA file(s), machine descriptions, coff/elf generation etc.).
I'd be really grateful if someone could help me out.
Pick closest architecture to the one you want, copy to to a new
directory based upon the name of the new architecture and modify to
suit, then build and your done. :-)
If you would like to contribute to the documentation, take notes on
what you found to be undocumented and/or non-obvious and contribute
to the docs.
If you get stuck on a specific step, ask here (for gcc only)... (and
then add the answer you get to the docs).
For binutils help, you'd want a different list.