Want re-targetable, no-frills, C compiler

rich@cs.ucdavis.edu (Kevin Rich)
Wed, 20 Oct 1993 05:49:10 GMT

          From comp.compilers

Related articles
Want re-targetable, no-frills, C compiler rich@cs.ucdavis.edu (1993-10-20)
| List of all articles for this month |
Newsgroups: comp.compilers
From: rich@cs.ucdavis.edu (Kevin Rich)
Keywords: C, question, comment
Organization: Compilers Central
Date: Wed, 20 Oct 1993 05:49:10 GMT

REQUEST for information on RE-TARGETABLE C COMPILERS


I am looking for a C compiler that is EASILY re-targetable. Specifically,
I have a simulator that uses a subset of the SPARC assembly language and I
am trying to put together a compiler for it.


I would like to be able to take an existing no-frills compiler and just
redefine the assembly code generation phase (I have an assembler). One
particular problem I had when trying to use the VPCC package from Virginia
is that it performs delay slot filling, among other optimizations, which I
do not want.


So, my "pie in the sky" is a compiler for the SPARC architecture that does
no architecture specific optimizations. And, for which I can just modify
the assembly code generation phase by synthesizing any SPARC instructions
that my simulator does not have.


Please note: I have read "Catalog of compilers, interpreters..." so please
don't point me there. I am looking for recommendations from people who
have experience with the tools and can give me meaningful recommendations
such as, "I used ..." or, "A colleague of mine used ..." not, "I think I
heard about one called..."


Please e-mail your pointers to
rich@yukon.cs.ucdavis.edu


thank you,
Kevin Rich
rich@yukon.cs.ucdavis.edu
[I'd take the GCC, start with the SPARC code generator, and cut down the
code generator to use only your instruction set. Hard experience tells
us that ``easily retargetable'' is an oxymoron. -John]
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.