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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!newsfeed.xs3.de!io.xs3.de!news.jacob-sparre.dk!franka.jacob-sparre.dk!pnx.dk!.POSTED.a109-49-159-46.cpe.netcabo.pt!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.lang.ada Subject: Re: Problem Building Ada Interface To ImageMagick 7 Date: Tue, 26 Jun 2018 20:58:37 +0200 Organization: JSA Research & Innovation Message-ID: <87r2ktml2a.fsf@adaheads.home> References: <8808f0da-a96b-456b-b827-f2aae18fc8f4@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: franka.jacob-sparre.dk; posting-host="a109-49-159-46.cpe.netcabo.pt:109.49.159.46"; logging-data="19842"; mail-complaints-to="news@jacob-sparre.dk" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:S+Ozo28xwoif6CIdJRpBW3HfUoA= Xref: reader02.eternal-september.org comp.lang.ada:53343 Date: 2018-06-26T20:58:37+02:00 List-Id: alby.gamper@gmail.com writes: > GNAT uses the GCC "C/C++" compiler or more specifically GNAT is > actually part of GCC (GNU compiler collection"). GNAT community > edition 2018 uses gcc version 7.3 Yes. And when you make Ada bindings to C or C++ with GNAT, they are specific to the GCC ABI's for C and C++. > As far as I am aware XCode uses the LLVM/CLANG C/C++ compiler If you want to make a GNAT binding to LLVM compiled C or C++, you will have to manually handle any ABI differences. Greetings, Jacob --