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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,5a3e508f74e87110 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!r33g2000yqn.googlegroups.com!not-for-mail From: sjw Newsgroups: comp.lang.ada Subject: Re: Record representation : components order Date: Thu, 9 Jul 2009 12:16:33 -0700 (PDT) Organization: http://groups.google.com Message-ID: <62950d1f-1111-4cf9-90d8-201a0fea718e@r33g2000yqn.googlegroups.com> References: <908a786e-214e-436f-868b-c0ead259fcc5@r33g2000yqn.googlegroups.com> <055e4e4e-94ec-40fb-b317-4f45a579148a@c9g2000yqm.googlegroups.com> <0528ea71-d39b-4c0f-ae70-b632c6b4fbeb@c36g2000yqn.googlegroups.com> NNTP-Posting-Host: 82.20.239.89 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1247166994 20158 127.0.0.1 (9 Jul 2009 19:16:34 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 9 Jul 2009 19:16:34 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: r33g2000yqn.googlegroups.com; posting-host=82.20.239.89; posting-account=_RXWmAoAAADQS3ojtLFDmTNJCT0N2R4U User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_7; en-us) AppleWebKit/530.18 (KHTML, like Gecko) Version/4.0.1 Safari/530.18,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:6925 Date: 2009-07-09T12:16:33-07:00 List-Id: On Jul 9, 10:28=A0am, Stephen Leake wrote: > sjw writes: > > * in theory tcladashell is compiler-independent. > > That's not important. You only need to generate the Ada code once > (well, once each time the C code changes); then you can use it with > any compiler. So only the tcladashell maintainer/developer needs > -fdump-ada-spec. This is perhaps an unusual example, and I'm not sure it would actually happen, but: struct { int i; #ifdef SOME_BIZARRE_COMPILER_I_DONT_HAVE_BUT_YOU_DO int j; #endif } foo; Also, I tried 'gcc -fdump-spec /usr/include/tcl.h' and got the following out: i386_utypes_h.ads stdarg_h.ads stdio_h.ads sys_utypes_h.ads tcl_h.ads tcldecls_h.ads tclplatdecls_h.ads utypes_h.ads and stdio_h.ads contains eg subtype size_t is i386_utypes_h.uu_darwin_size_t; so I could hardly hope that would work with Aonix on Windows!