comp.lang.ada
 help / color / mirror / Atom feed
From: Roger <rogermcm2@gmail.com>
Subject: Re: Trying to install the latest GtkAda for Mac on Mojave using Community 2018
Date: Thu, 11 Jul 2019 23:06:48 -0700 (PDT)
Date: 2019-07-11T23:06:48-07:00	[thread overview]
Message-ID: <3dcd8b35-b389-42c1-a819-cc7e5c64f6d1@googlegroups.com> (raw)
In-Reply-To: <ly36p3zhgc.fsf@pushface.org>

On Tuesday, February 5, 2019 at 2:44:36 AM UTC+11, Simon Wright wrote:
> ah...@marriott.org writes:
> 
> > When I type Make I now get
> >
> > ld: unknown option: -Wl
> > collect2: error: ld returned 1 exit status
> 
> This is odd.
> 
> gprbuild (or gnatmake) calls gnatlink which calls gcc (or maybe g++)
> which eventually calls the system ld with appropriate arguments.
> 
> -Wl starts an instruction to gcc to pass an argument through to the
> system linker: if you say -Wl,-foo,bar then ld sees
> 
>    ld ... -foo bar ...
> 
> (see https://gcc.gnu.org/onlinedocs/gcc/Link-Options.html).
> 
> Ah! the first comma is important: I just tried this,
> 
>    $ gnatmake raiser.adb -largs -Wl
>    gcc -c raiser.adb
>    gnatbind -x raiser.ali
>    gnatlink raiser.ali -Wl
>    gcc: error: unrecognized command line option '-Wl'; did you mean '-W'?
>    gnatlink: error when calling /opt/gcc-8.1.0/bin/gcc
>    gnatmake: *** link failed.
> 
> Maybe there's a problem in the Makefile.

I have a configure problem!
Configure fails with 
checking for GTK - version >= 3.14.0... configure: error: pkg-config not found

brew installed gtk+3 version 3.24.10 which does contain pkgconfig/gtk+-3.0.pc

Any advice will be appreciated.
Thanks,
Roger

  reply	other threads:[~2019-07-12  6:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-31 15:56 Trying to install the latest GtkAda for Mac on Mojave using Community 2018 ahlan
2019-01-31 17:13 ` ahlan
2019-01-31 18:10 ` Simon Wright
2019-02-04 11:16   ` ahlan
2019-02-04 15:44     ` Simon Wright
2019-07-12  6:06       ` Roger [this message]
2019-07-12  6:11         ` 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