comp.lang.ada
 help / color / mirror / Atom feed
From: alby.gamper@gmail.com
Subject: Re: Problem Building Ada Interface To ImageMagick 7
Date: Tue, 26 Jun 2018 05:35:06 -0700 (PDT)
Date: 2018-06-26T05:35:06-07:00	[thread overview]
Message-ID: <04ab8530-b8ab-45cc-b913-86a090953199@googlegroups.com> (raw)
In-Reply-To: <5c26a479-f754-4bce-9985-f58698348ab8@googlegroups.com>

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


  reply	other threads:[~2018-06-26 12:35 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-26  8:28 Problem Building Ada Interface To ImageMagick 7 Roger
2018-06-26  9:26 ` alby.gamper
2018-06-26 11:58   ` Roger
2018-06-26 12:35     ` alby.gamper [this message]
2018-06-26 13:43       ` Roger
2018-06-27  2:08         ` Roger
2018-06-26 18:58   ` Jacob Sparre Andersen
2018-06-30  1:25   ` Roger
2018-06-26  9:34 ` gautier_niouzes
2018-06-26 11:51   ` Roger
2018-06-26 13:13   ` Roger
2018-06-26 16:28     ` gautier_niouzes
2018-06-26 17:47       ` Roger
2018-06-26 18:14       ` Roger
2018-06-26 18:38         ` gautier_niouzes
2018-06-27  2:11           ` Roger
2018-06-27  4:55             ` gautier_niouzes
2018-06-27  7:07               ` Roger
2018-06-27  7:28                 ` gautier_niouzes
2018-06-27  8:05                   ` Roger
2018-06-27  7:04           ` Dmitry A. Kazakov
2018-06-27  7:12             ` Roger
2018-06-27  9:59             ` gautier_niouzes
2018-06-27 12:34     ` Stephen Leake
2018-06-27 12:41       ` Roger
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox