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 10.66.66.196 with SMTP id h4mr15528787pat.26.1413751033312; Sun, 19 Oct 2014 13:37:13 -0700 (PDT) X-Received: by 10.140.94.242 with SMTP id g105mr365215qge.0.1413751033265; Sun, 19 Oct 2014 13:37:13 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!uq10no13855846igb.0!news-out.google.com!i10ni96qaf.0!nntp.google.com!dc16no4005303qab.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 19 Oct 2014 13:37:12 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=87.91.37.131; posting-account=hya6vwoAAADTA0O27Aq3u6Su3lQKpSMz NNTP-Posting-Host: 87.91.37.131 References: <26a219c5-e2f4-4edf-bd52-f36c2a7692ac@googlegroups.com> <2f562bea-0d06-458f-b88f-2999abda4950@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <1d4c8dfa-0825-46d2-9df8-59c42ba22fa1@googlegroups.com> Subject: Re: problems with gnat on yosemite macox From: vincent.diemunsch@gmail.com Injection-Date: Sun, 19 Oct 2014 20:37:13 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:22592 Date: 2014-10-19T13:37:12-07:00 List-Id: On Sunday, October 19, 2014 3:55:15 PM UTC+2, Simon Wright wrote: > Leo Brewin writes: >=20 >=20 >=20 > > I just tried compiling my Hello World code using your >=20 > > gcc-4.9.1-yosemite version and I still get problems. The good news is >=20 > > that the 13.4 vs. 14.0.0 issue is resolved but the linker issue >=20 > > remains. Should I be setting some options for the linker? >=20 > > >=20 > > which gnatmake >=20 > > /opt/gcc-4.9.1-yosemite/bin/gnatmake >=20 > > =09 >=20 > > gnatmake lcb01.adb >=20 > > =09 >=20 > > gnatbind -x lcb01.ali >=20 > > gnatlink lcb01.ali >=20 > > Undefined symbols for architecture x86_64: >=20 > > "__Unwind_Backtrace", referenced from: >=20 > > ___gnat_backtrace in libgnat.a(tracebak.o) >=20 > > ... and more of the same ... >=20 > > ld: symbol(s) not found for architecture x86_64 >=20 > > collect2: error: ld returned 1 exit status >=20 > > gnatlink: error when calling /opt/gcc-4.9.1-yosemite/bin/gcc >=20 > > gnatmake: *** link failed. >=20 >=20 >=20 > It works for me. >=20 >=20 >=20 > Could you build with "gnatmake lcb01.adb -largs -Wl,-v" to print the >=20 > command line passed to ld? Simon, can you explain me using simple words what the problem was and how you did solve it (without details... ). In fact I have both GNAT=A0GPL= =A02014, and GNAT GPL 2012 / SPARK 2012 on my iMac, and I want to avoid loosing the 2012 version that I use for Spark... So do you think that there will be= a problem with Spark or not ? Kind regards, Vincent