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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c62a5e526aafd9d4 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-09-28 13:22:39 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!unlnews.unl.edu!newsfeed.ksu.edu!nntp.ksu.edu!news.okstate.edu!not-for-mail From: David Starner Newsgroups: comp.lang.ada Subject: Re: The Hobby Lobby was Windows CE? Date: 28 Sep 2001 19:27:10 GMT Organization: Oklahoma State University Message-ID: <9p2iue$9281@news.cis.okstate.edu> References: <9onhgu$9h9$1@nh.pace.co.uk> <3BAF77E6.9BDE9102@adaworks.com> <9onvig$f6n$1@nh.pace.co.uk> <3bb05ee7.10496763@news.demon.co.uk> <3BB0B3C4.432E2B4B@sparc01.ftw.rsc.raytheon.com> <3bb1d07f.18201562@news.demon.co.uk> <3BB2075A.57C22F55@sparc01.ftw.rsc.raytheon.com> <3BB22F0E.718B1244@sparc01.ftw.rsc.raytheon.com> <9otbs2$juj$1@nh.pace.co.uk> <9ovaf2$c18$1@nh.pace.co.uk> <3BB340C6.DC51CB98@lmtas.lmco.com> <9ovh43$erd$1@nh.pace.co.uk> <3BB49C07.D7F16D45@lmtas.lmco.com> <9p2bvl$ika$1@nh.pace.co.uk> Reply-To: dstarner98@aasaa.ofe.org NNTP-Posting-Host: x8b4e53d2.dhcp.okstate.edu User-Agent: slrn/0.9.7.2 (Linux) Xref: archiver1.google.com comp.lang.ada:13491 Date: 2001-09-28T19:27:10+00:00 List-Id: On Fri, 28 Sep 2001 13:28:21 -0400, Marin David Condic wrote: > also process C code for you without modification. The gcc compiler has a > multitude of front ends (see http://www.gnu.org/software/gcc/gcc.html) which > includes support for C, C++, Objective C, Chill, Fortran, and Java. Front > ends exist for Pascal, Mercury, Cobol and Modula-2 as well. You mean Modula-3, don't you? I've never heard of a Modula-2 frontend. > The problem is, of course, getting any/all of these front ends together in > the same place at the same time and making a binary that will recognize > whatever language you want to compile. In principle, it could be done, but > in practice I don't think anyone has. I don't know why this is. Too > difficult? No interest? Insufficient utility? It can be fairly difficult to move a frontend from one version of the backend to another. The Pascal frontend people still haven't ported it to GCC 3.x, and don't seem terribly interested in doing the cleanup work to get it merged. ACT apparently has a mostly-working frontend for GCC 3.1, but hasn't made it publically available yet. Mercury and Modula-3 developers don't want to assign copyright to the FSF. The Mercury frontend code is shared with other Mercury backends, making it hairer to get in GCC CVS. Modula-3 isn't designed to be one of many frontends; it would need a huge design overhaul to work in your scenario. Chill (which was never ported to GCC 3.0) just doesn't have any support. There's no really working Cobol frontend. Anyway, where is the interest? You can do pretty much anything you want with the Pascal and Chill frontends based on gcc 2.95, Ada on gcc 2.8.2, Fortran, et al, on 3.0, and the Modula-3 backend on its builtin backend. -- David Starner - dstarner98@aasaa.ofe.org Pointless website: http://dvdeug.dhis.org "I saw a daemon stare into my face into my face, and an angel touch my breast; each one softly calls my name . . . the daemon scares me less." - "Disciple", Stuart Davis