Re: [gcc] RE: Porting GCC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Siva,
Thanks for the fast response.

I read some articles about CGEN and Simn-ML which probably can help me
dealing with these files.
But I did not get them to work. Do you think  that  these tools are useful
for such purpose ?

About the document you have recommended. I have it, but it looks more like a
reference. And some parts of it are still incomplete for example RTL
section.

However, I started changing an existing machine description , but I can't
still get of my head that there must be some tools :)).

Regards Petar

----- Original Message ----- 
From: "sivashankar nagappan" <sivashankar.naga@xxxxxxxxx>
To: "Petar Penchev" <ptr@xxxxxxxxx>
Sent: 13 ?????? 2003 ?. 14:45
Subject: [gcc] RE: Porting GCC


>
> Peter,
>
>     Porting gcc involves writing .md .c and .h files for the new target.
>
> Difficulty depends on the targets complex instruction availability. As
> far as I know there is no certain tool to write / produce these files.
> You should write it manually.
>
> Better, take already available processor code(.md, .c. h files);
> which might coincide with your new target architecture. Compare it and
> port it (if not write from scratch) for the new target.
>
> The book on porting GCC is available online at GNU GCC site
> itself. Search for 'using and porting GNU GCC' on web. This is the
> manual which deals with writing the .md .h and .c files. I do not know
> whether any other book is available on net.
>
> -regards
> Siva
>
>
> -----Original Message-----
> From: Petar Penchev [mailto:ptr@xxxxxxxxx]
> Sent: Wednesday, August 13, 2003 4:57 PM
> To: gcc-help@xxxxxxxxxxx
> Subject: Porting GCC
>
> Hello All,
> I started porting GCC for new target. I read the documentation I have
> found
> and I have couple questions I can't find answers.
>
> 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 ?
>
> And second question in Amazon.com I found some books on porting GCC,
> does
> anybody know something about on-line version of these books ?
>
> Regards Petar
>
>
> **************************Disclaimer************************************
>
> Information contained in this E-MAIL being proprietary to Wipro Limited is
> 'privileged' and 'confidential' and intended for use only by the
individual
>  or entity to which it is addressed. You are notified that any use,
copying
> or dissemination of the information contained in the E-MAIL in any manner
> whatsoever is strictly prohibited.
>
>
***************************************************************************


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux