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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3fc79ad704f81a40 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-03-10 06:33:37 PST Path: bga.com!news.sprintlink.net!hookup!news.mathworks.com!usenet.eel.ufl.edu!news-feed-1.peachnet.edu!news.duke.edu!godot.cc.duq.edu!toads.pgh.pa.us!evans.pgh.pa.us!user From: evans@evans.pgh.pa.us (Arthur Evans Jr) Newsgroups: comp.lang.ada Subject: Re: Writing a Mac Ada compiler Followup-To: comp.lang.ada Date: Fri, 10 Mar 1995 09:17:33 -0500 Organization: Ada Consulting Message-ID: References: <3jg167$a3l@nic.umass.edu> NNTP-Posting-Host: evans.pgh.pa.us Date: 1995-03-10T09:17:33-05:00 List-Id: Commenting on my suggestion that a GCC port to the Mac might use Metrowerks, vladimir@speedy.intrepid.com (Vladimir Vukicevic) wrote: > You can indeed add new 'translators' to metrowerks, much like you can > with gcc. However, the task of ripping out gnat from its gcc roots and > performing surgery to get the piece to fit into metrowerks would be > -significantly- harder than porting gcc. Metrowerks provides > information on how to write new translators; however, there is > virtually no chance that the tree structure they use is semi- > compatible with gcc; they might not even use this type of > 'translating'. Interesting. An important early decision to make in planning a GCC port to MPW would be whether to use the MPW linker or GCC's. My guess, based on zero knowledge, is that GCC's linker is enough different from MPW's that it would require performing major surgery on GCC to use MPW's format. But, nothing keeps you from using your own linker under MPW. Since GCC runs on NeXT hardware, 680x0 code generators must exist. I would think that the major task here, as in any port to a non-Unix target, would be changing OS calls from Unix (or whatever) to Mac OS. And I certainly don't call that a trivial task. How does this discussion differ from the situation under Metrowerks? What "tree" is it that Vladimir refers to? Art Evans Arthur Evans Jr, PhD Phone: 412-963-0839 Ada Consulting FAX: 412-963-0927 461 Fairview Road Pittsburgh PA 15238-1933 evans@evans.pgh.pa.us