From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,94a2b19e68586a6 X-Google-Attributes: gid109fba,public X-Google-Thread: 103376,9adfbb907494972e X-Google-Attributes: gid103376,public X-Google-Thread: 1014db,9adfbb907494972e X-Google-Attributes: gid1014db,public From: Samuel Tardieu Subject: Re: Ada to C/C++ translator needed Date: 1996/10/06 Message-ID: #1/1 X-Deja-AN: 187940203 sender: tardieu@gargantua.enst.fr references: <32499FA0.4B5E@magic.fr> <52cdn6$iis@dfw.dfw.net> <3251C855.41C6@etek.chalmers.se> <536eid$gv2@news.ccit.arizona.edu> to: frank@bigdog.engr.arizona.edu (Frank Manning) content-type: text/plain; charset=iso-8859-1 organization: TELECOM Paris mime-version: 1.0 newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++ Date: 1996-10-06T00:00:00+00:00 List-Id: >>>>> "Frank" == Frank Manning writes: Frank> Awhile back there was a big discussion about the merits of Frank> writing an 8051 Ada compiler. I'm a bit surprised nobody Frank> mentioned this possibility, since 8051 C compilers already Frank> exist. You've hit another interesting point: is there a study on how hard (man*year) it is to write machine-specifics files for GCC ? I've never had to write some since all the targets I use are supported already, but it doesn't seem to be an unreasonable task at all. Once these files are written, you get a cross-compiler for C, C++, Obj-C, Fortran, Modula and Ada (not including the runtimes which are highly machine dependents, but if you use an Ada to C translator, you will have to write the tasking library to be called from C anyway, so it shouldn't be a more complicated job to port the Ada runtime itself). Sam -- Samuel Tardieu -- sam@ada.eu.org