|Reatrgetable Compilers email@example.com (Perseus Patrawala) (2005-01-22)|
|Re: Reatrgetable Compilers firstname.lastname@example.org (2005-01-24)|
|Re: Reatrgetable Compilers email@example.com (Ivan A. Kosarev) (2005-02-03)|
|From:||Perseus Patrawala <firstname.lastname@example.org>|
|Date:||22 Jan 2005 18:23:53 -0500|
|Posted-Date:||22 Jan 2005 18:23:53 EST|
I am interested in making a retargetable compiler that compiles in
C/C++ source code and can take care of machine dependent optimisations
- that include register spills, pipelining issues.
Since this is a college level project, I do not need to go into a
really high detailed architecture - however I want it to be functional
with at least the minimum workings of a compiler.
Can anybody help me out as to what lines to follow, or if there are
any freeware tools that can be used to implement the various stages,
or some source codes and pre existing retargetable compilers that I
can study and follow up on.
Though the theoritical concepts are pretty much clear to me - as to
what are the various stages and all, it is the implementation that is
bothering me. I am confused on where to start.
Obviously the input will be a C/C++ program and output shoould be a
object code or assembly language output - and the three address code -
so that optimizations are also done.
The system specifications would be either a windows or linux machine -
a sun sparc station may not be possible for me to get hold of.
Please mail me at email@example.com or post a reply to the forum
here if anyone can suggest a suitable outcome.
Computer Engg Dept.
NSIT, New Delhi
[In principle, retargetable compilers are easy. In practice, dealing
with the little details of the target architectures takes a great deal
of effort. -John]
Return to the
Search the comp.compilers archives again.