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.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC 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: kilgallen@eisner.decus.org (Larry Kilgallen) Subject: Re: Urgent question: malloc and ada...READ/NEW/FOLLOWUP Date: 1998/04/26 Message-ID: <1998Apr26.172910.1@eisner>#1/1 X-Deja-AN: 347907878 References: <352A79C2.15FB7483@nathan.gmd.de> <1998Apr10.073110.1@eisner> <6hvm8k$t3l$1@news.hal-pc.org> Reply-To: Kilgallen@eisner.decus.org.nospam X-Nntp-Posting-Host: eisner.decus.org X-Trace: news.decus.org 893626164 9975 KILGALLEN [192.67.173.2] Organization: LJK Software Newsgroups: comp.lang.ada Date: 1998-04-26T00:00:00+00:00 List-Id: In article , Simon Wright writes: > 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? > > Well, one solution would be for the Ada vendor to specify it! In fact, > given the need to match the C representations, I think the Ada vendor > would have to. And, depending on the compiler one might have to specify particular compilation modes for which the alignment characteristics will be matched. I don't remember the details, but DEC C for Alpha allows one to generate code which naturally aligns elements on quadword boundaries or longword boundaries, depending on application needs.