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: 103376,976a050e0f89277c X-Google-Attributes: gid103376,public From: eachus@spectre.mitre.org (Robert I. Eachus) Subject: Re: Urgent question: malloc and ada...READ/NEW/FOLLOWUP Date: 1998/04/30 Message-ID: #1/1 X-Deja-AN: 349242536 References: <352A79C2.15FB7483@nathan.gmd.de> <1998Apr10.073110.1@eisner> <6hvm8k$t3l$1@news.hal-pc.org> Organization: The Mitre Corp., Bedford, MA. Newsgroups: comp.lang.ada Date: 1998-04-30T00:00:00+00:00 List-Id: In article <6hvm8k$t3l$1@news.hal-pc.org> Jonathan Guthrie writes: > How does the Ada compiler implemetor know what C compiler is used in > that "particular environment in which the compiler operates"? > Telepathy? No, by the name used in the pragma. The conventions Ada, Intrinsic, Fortran, C, and COBOL are defined in the RM, as are the packages Interfaces.C, Interfaces.COBOL, and Interfaces.Fortran. Compilers are allowed to add support for other languages, and in the particular case mentioned above, they would choose one C compiler to correspond to the convention C, and others could be named Gcc, VisualC, etc. In practice, the compiler that corresponds to C is the one used to compile the OS. -- Robert I. Eachus with Standard_Disclaimer; use Standard_Disclaimer; function Message (Text: in Clever_Ideas) return Better_Ideas is...