This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: porting gcc/binutils


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]