This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: porting gcc
- From: Mike Stump <mrs at apple dot com>
- To: Grégoire Dooms <dooms at student dot info dot ucl dot ac dot be>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 22 Oct 2002 11:56:42 -0700
- Subject: Re: porting gcc
On Tuesday, October 22, 2002, at 05:55 AM, Grégoire Dooms wrote:
I've read all the documentation (Passes, Machine Description, ...) and
the
AVR (other 8bit uc) files (.md .c .h).
What should I do now?
File your paperwork, and port it.
Is it possible to incrementally write those files ?
Yes. I find it convenient to copy some working port, and then modify
it until done. I maintained a working compiler that generated
progressively more correct code. This why I would tell how close I
was, and if the compiler started to not work, I knew it was related to
the last edit, thus shortening my search space. Sometimes the way sin
which the compiler can fail are non-obvious, but being able to fall
back on the temporal information was handy.
Is there a document explaining that process?
Just what's on our web site.
Who should I ask about a few not-understood stuff in the AVR files?
I'd just ignore it, maybe the trickery won't be needed in your port.
Or, maybe you'll understand it better when you have 90% of the easy
stuff done.