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-Thread: 103376,c1bdceb867926fdb X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!feeder2.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.84.MISMATCH!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Interfacing Ada with C Date: Sat, 31 Jul 2010 14:17:40 +0100 Organization: A noiseless patient Spider Message-ID: References: <143ef70b-7e74-426b-a621-a5fd157849be@x21g2000yqa.googlegroups.com> <317a22bc-3fff-4036-8945-8a61befab2eb@c10g2000yqi.googlegroups.com> <0b4752f2-411e-4f82-835a-8a46adaf2ff4@5g2000yqz.googlegroups.com> <997036dd-ca13-4cdf-8f88-9b47a9f83b2d@s9g2000yqd.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Sat, 31 Jul 2010 13:17:40 +0000 (UTC) Injection-Info: mx01.eternal-september.org; posting-host="KCXegvZb5vh43D+f3BR6Ew"; logging-data="15330"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18IoGp55PY22DwpBu0ke7BiS92OqvRBTWk=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (darwin) Cancel-Lock: sha1:4hxeMDoefOF0ifOxIATZZGQKtfc= sha1:Za0TFK7No0dztjaG2P1G50YL9vo= Xref: g2news1.google.com comp.lang.ada:12751 Date: 2010-07-31T14:17:40+01:00 List-Id: I forgot to add that (with GNAT GPL 2010) you'll need to use the '-gnat05' flag. I've updated Sourceforge (the two GPRs). test_extensions.gpr now reads package Compiler is for Default_Switches ("ada") use ( "-gnatqQ", "-gnat05" -- GNAT GPL 2010 requires this (GCC 4.5.0 doesn't) ); end Compiler; and ada_math_build.gpr now reads package Compiler is for Default_Switches ("ada") use ( "-gnatpg", -- to build Ada library items "-gnatqQ", -- to keep ALI files even if there are compilation errors "-gnat05" -- GNAT GPL 2010 requires this (GCC 4.5.0 doesn't) ); end Compiler;