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:ad4:4373:: with SMTP id u19mr5286135qvt.202.1562911609084; Thu, 11 Jul 2019 23:06:49 -0700 (PDT) X-Received: by 2002:a54:4003:: with SMTP id x3mr4531016oie.44.1562911608795; Thu, 11 Jul 2019 23:06:48 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!b26no1185356qtq.0!news-out.google.com!a5ni93qtd.0!nntp.google.com!b26no1185346qtq.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 11 Jul 2019 23:06:48 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=124.171.98.153; posting-account=d51RWwoAAADvR-x0zYAtT9z3CRxT1eXo NNTP-Posting-Host: 124.171.98.153 References: <91fd8c43-e858-4e16-9113-daa049924adf@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <3dcd8b35-b389-42c1-a819-cc7e5c64f6d1@googlegroups.com> Subject: Re: Trying to install the latest GtkAda for Mac on Mojave using Community 2018 From: Roger Injection-Date: Fri, 12 Jul 2019 06:06:49 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:56857 Date: 2019-07-11T23:06:48-07:00 List-Id: 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