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=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a02:c5:: with SMTP id 188-v6mr484273jaa.15.1530016507140; Tue, 26 Jun 2018 05:35:07 -0700 (PDT) X-Received: by 2002:a9d:62d7:: with SMTP id z23-v6mr79811otk.6.1530016506962; Tue, 26 Jun 2018 05:35:06 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.unit0.net!newsreader5.netcologne.de!news.netcologne.de!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.am4!peer.am4.highwinds-media.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!u78-v6no710671itb.0!news-out.google.com!p13-v6ni846itf.0!nntp.google.com!d7-v6no707149itj.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 26 Jun 2018 05:35:06 -0700 (PDT) In-Reply-To: <5c26a479-f754-4bce-9985-f58698348ab8@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=101.164.108.182; posting-account=wavAeAoAAAAZF_sXSZepBukuPCBO0Zqt NNTP-Posting-Host: 101.164.108.182 References: <8808f0da-a96b-456b-b827-f2aae18fc8f4@googlegroups.com> <5c26a479-f754-4bce-9985-f58698348ab8@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <04ab8530-b8ab-45cc-b913-86a090953199@googlegroups.com> Subject: Re: Problem Building Ada Interface To ImageMagick 7 From: alby.gamper@gmail.com Injection-Date: Tue, 26 Jun 2018 12:35:07 +0000 Content-Type: text/plain; charset="UTF-8" X-Received-Bytes: 2846 X-Received-Body-CRC: 1124032914 Xref: reader02.eternal-september.org comp.lang.ada:53323 Date: 2018-06-26T05:35:06-07:00 List-Id: On Tuesday, June 26, 2018 at 9:58:06 PM UTC+10, Roger wrote: > On Tuesday, June 26, 2018 at 7:26:46 PM UTC+10, alby....@gmail.com wrote: > > > Hi Roger > > > > 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 > > > > As far as I am aware XCode uses the LLVM/CLANG C/C++ compiler > > > > Alex > > This confirms what I thought. > What I think need then is some way of telling GNAT to use the LLVM/CLANG C/C++ compiler instead of the GCC "C/C++" compiler. > I've made some attempts to use gprconfig to generate a suitable .cgpr file but so far without success. Hi Roger I very recently had an issue with building gprbuild natively on mingw64 and raised an issue on the AdaCore GitHub repo, which has now been resolved. (with their input / guidance) and I must say relatively quickly, given time zone differences between Australia and Europe. Maybe they can assist you in the configuring gprconfig so as to be able to use LLVM (it should not be that difficult as I believe LLVM/GGC are compatible wrt command line arguments! so it should just be a matter of replacing ggc.exe with the equivalent llvm.exe somewher in their configs have a look at their Ada Gems/Blogs or the git repo (specifically the share/gprconfig/ xml files) for hints/solutions. You may have to tweak a xml config file to get GANT/gprbuild to use LLVM Alex