Porting gcc
Ben Elliston
bje@wasabisystems.com
Wed Aug 13 16:07:00 GMT 2003
"Petar Penchev" <ptr@sd-bul.bg> writes:
> Target.c target.h and target.md files are complementary to one
> another. I mean they have common purpose (to define target
> machine). I am wondering are there any tools which could help me to
> create /or better to generate / these files or I have to write them
> from scratch ?
There are no automatic generators, although there was some discussion
once about using CGEN to assist in the generation of the machine
description file. The usual approach is to take the most similar
existing port, copy those files and start with those.
> And second question in Amazon.com I found some books on porting GCC,
> does anybody know something about on-line version of these books ?
If the one you are looking at is the one published by the FSF, then
the book's contents are available in the GCC source tree. Also, see:
http://gcc.gnu.org/onlinedocs/
Ben
More information about the Gcc
mailing list