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 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: GNAT Community Edition 2018 Date: Sun, 10 Jun 2018 15:11:31 +0100 Organization: A noiseless patient Spider Message-ID: References: <0001HW.20CB0E4B00F373A170000133C2CF@news.individual.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="76b4f718fbb6884d0df0d91833638c27"; logging-data="16882"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+6pIlUZTYMGaaLTpw/5PRe9UsA61x5/dM=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (darwin) Cancel-Lock: sha1:rZ8IFydHahjyg1HMvhleI2/Lfrg= sha1:IN1N7bCY3J8d62BtGJLgys8y9sI= Xref: reader02.eternal-september.org comp.lang.ada:53029 Date: 2018-06-10T15:11:31+01:00 List-Id: Bill Findlay writes: > On macOS 10.13.5 I get this sort of thing: > >> ld: warning: object file >> (/Users/wf/opt/gnat-2018/lib/gcc/x86_64-apple-darwin16.7.0/7.3.1/adalib/libgnat.a(errno.o)) >> was built for newer OSX version (10.12) than being linked (10.11) Normally that would mean that you're trying to link a binary built on a later OS than the OS you're currently running; but that doesn't make sense if you're running 10.13. You _might_ be able to suppress the warning using -largs -Wl,-macosx_version_min,10.11 >From 'man ld': -macosx_version_min version This is set to indicate the oldest Mac OS X version that that the output is to be used on. Specifying a later version enables the linker to assumes features of that OS in the out- put file. The format of version is a Mac OS X version number such as 10.4 or 10.5