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: fc89c,e03c5c4e93e2b73a X-Google-Attributes: gidfc89c,public X-Google-Thread: 103376,e03c5c4e93e2b73a X-Google-Attributes: gid103376,public X-Google-Thread: 1014db,67a2bb805a7929e6 X-Google-Attributes: gid1014db,public X-Google-Thread: 109fba,e03c5c4e93e2b73a X-Google-Attributes: gid109fba,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: [?] GNU g77 FORTRAN compiler witten in C? Date: 1997/11/06 Message-ID: #1/1 X-Deja-AN: 287442730 References: <63n9vl$84c@saluki-news.it.siu.edu> <345FAF90.41C6@lanl.gov> <63r2mp$r8t$1@helios.crest.nt.com> <63skbb$9sl@nntp.seflin.org> X-Complaints-To: usenet@news.nyu.edu X-Trace: news.nyu.edu 878834780 17402 (None) 128.122.140.58 Organization: New York University Newsgroups: comp.lang.c,comp.lang.c++,comp.lang.ada,comp.unix.programmer Date: 1997-11-06T00:00:00+00:00 List-Id: Ralph said <<: How would you port it to an architecture that has no Ada compiler? Once you : have a GNAT development system running, you can retarget the Ada compiler you : have. You can then compile programs for that previously unsupported platform. : You then compile the compiler itself and get it running on that platform! : (Easier said than done, of course, but in principle that is what you would do)>> This is much more than theory. The above described approach has been successfully used to move GNAT to a large number of machines, including many ports done by volunteers with zero help from the GNAT folks, e.g. the DOS port appeared out of the blue this way, as did the Amiga port. Yes, you need to know gcc reasonably well to do this, but there are lots of people who know enough. Originally we thought we would have to somehow address the issue of how to port the system in a pure C manner, but in practice this has turned out to be a non-issue. Indeed porting GNAT to a new target at the very basic level of getting the compipler to run non-taskin programs is pretty straightforward. The harder part is porting the tools and the tasking.