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,8a402d78988bdf2b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-12-22 08:35:22 PST From: "Ekkehard Morgenstern" Newsgroups: comp.lang.ada Subject: Re: [announcement] SYSAPI and SYSSVC for Windows Date: Mon, 22 Dec 2003 17:35:15 +0100 Organization: 1&1 Internet AG Message-ID: References: <1071846912.728815@master.nyc.kbcfp.com> <1071852533.241196@master.nyc.kbcfp.com> <1072105705.142888@master.nyc.kbcfp.com> NNTP-Posting-Host: p508c0f55.dip0.t-ipconnect.de Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: online.de 1072110921 4959 80.140.15.85 (22 Dec 2003 16:35:21 GMT) X-Complaints-To: abuse@einsundeins.com NNTP-Posting-Date: Mon, 22 Dec 2003 16:35:21 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Path: archiver1.google.com!news2.google.com!fu-berlin.de!news.belwue.de!news.uni-ulm.de!rz.uni-karlsruhe.de!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail Xref: archiver1.google.com comp.lang.ada:3700 Date: 2003-12-22T17:35:15+01:00 List-Id: I wrote: > As I understand the GCC bootstrapping phase, I will have to write > a minimal C compiler that conforms to some rules, and then I can > compile with it the first stage of GCC, and with that the second, > and so on. And then I just need to recompile the GNU libraries > and the GNAT compiler. I just downloaded the source for GCC 3.3.2, and yes, the bootstrap compiler needs a minimal C compiler (K&R compatible), and the standard C libraries, plus a make tool, a Korn shell or similar (for the configure script and other scripts), the Ada compiler requires GNAT for compilation, which has thus also be bootstrapped, and so on. So I basically have to write a minimum UNIX-compatible environment to compile GCC and GNAT, if I want to port it to a new platform (virtual machine). By then I wouldn't need it anymore, since I would already have an Ada compiler (because I want to write my virtual machine in Ada). However, I would port GCC as part of the developent environment for the user, if my Ada compiler wouldn't be sufficient for public usage. I plan to provide a POSIX environment anyway, so that could be used then to run GCC and the like. If GCC, or at least the bootstrap part was written in BCPL, porting it would be far easier! Then I'd just need an INTCODE interpreter for my platform and bam I could run it.