From: Bill Findlay <findlaybill@blueyonder.co.uk>
Subject: Re: GNAT Community Edition 2018
Date: Mon, 11 Jun 2018 15:44:49 +0100
Date: 2018-06-11T15:44:49+01:00 [thread overview]
Message-ID: <0001HW.20CEC26101D1A91B70000133C2CF@news.individual.net> (raw)
In-Reply-To: lywov54der.fsf@pushface.org
On 11 Jun 2018, Simon Wright wrote
(in article <lywov54der.fsf@pushface.org>):
> Bill Findlay<findlaybill@blueyonder.co.uk> writes:
>
> Baffling, I agree.
>
> > I have this setting: "LINK_OPTIONS = -bargs -static -Sin -largs
> > -Wl,-dead_strip -Wl,-dead_strip".
>
> You might get some insight from adding "-Wl,-v" to -largs, to see what options ld actually got.
With GPL 2017 the linker output:
> gnatlink /Users/wf/mekhos/MacOSX/e.ali -funwind-tables -fdata-sections
> -ffunction-sections -fstack-check -fstack-usage -Wl,-dead_strip
> -Wl,-dead_strip -Wl,-v
> collect2 version 6.3.1 20170510 (for GNAT GPL 2017 20170515)
> /usr/bin/ld -dynamic -arch x86_64 -macosx_version_min 10.11 -weak_reference_mismatches non-weak -o e
> -L/Users/wf/mekhos/MacOSX/
> -L../MacOSX/ -L/opt/gnat-2017/lib/gcc/x86_64-apple-darwin14.5.0/6.3.1/adalib/
> -L/opt/gnat-2017/bin/../lib/gcc/x86_64-apple-darwin14.5.0/6.3.1
> -L/opt/gnat-2017/bin/../lib/gcc
> -L/opt/gnat-2017/bin/../lib/gcc/x86_64-apple-darwin14.5.0/6.3.1/../../..
> b~e.o /Users/wf/mekhos/MacOSX/m.o /Users/wf/mekhos/MacOSX/m-opcodes.o
> ...
> /Users/wf/mekhos/MacOSX/execute.o /Users/wf/mekhos/MacOSX/e.o -dead_strip -dead_strip -v
> /opt/gnat-2017/lib/gcc/x86_64-apple-darwin14.5.0/6.3.1/adalib/libgnat.a -no_compact_unwind -lSystem -lSystem
> @(#)PROGRAM:ld PROJECT:ld64-408.1.1
> BUILD 05:18:43 May 25 2018
> configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em
And with GNAT CE gave:
> gnatlink /Users/wf/mekhos/MacOSX/e.ali -funwind-tables -fdata-sections
> -ffunction-sections -fstack-check -fstack-usage -Wl,-dead_strip
> -Wl,-dead_strip -Wl,-v
> collect2 version 7.3.1 20180524 (for GNAT Community 2018 20180523)
> /usr/bin/ld -dynamic -arch x86_64 -macosx_version_min 10.11 -weak_reference_mismatches non-weak -o e
> -L/Users/wf/mekhos/MacOSX/
> -L../MacOSX/ -L/opt/gnat-2018/lib/gcc/x86_64-apple-darwin16.7.0/7.3.1/adalib/
> -L/opt/gnat-2018/bin/../lib/gcc/x86_64-apple-darwin16.7.0/7.3.1
> -L/opt/gnat-2018/bin/../lib/gcc
> -L/opt/gnat-2018/bin/../lib/gcc/x86_64-apple-darwin16.7.0/7.3.1/../../..
> b~e.o /Users/wf/mekhos/MacOSX/m.o /Users/wf/mekhos/MacOSX/m-opcodes.o
> ...
> /Users/wf/mekhos/MacOSX/execute.o /Users/wf/mekhos/MacOSX/e.o -dead_strip -dead_strip -v
> /opt/gnat-2018/lib/gcc/x86_64-apple-darwin16.7.0/7.3.1/adalib/libgnat.a -no_compact_unwind -lSystem -lSystem
> @(#)PROGRAM:ld PROJECT:ld64-408.1.1
> BUILD 05:18:43 May 25 2018
> configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em
I see that both are using:
> -macosx_version_min 10.11
without my asking.
Apart from that I don't see anything surprising.
--
Bill Findlay
next prev parent reply other threads:[~2018-06-11 14:44 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-08 17:58 GNAT Community Edition 2018 Simon Wright
2018-06-08 18:15 ` eduardsapotski
2018-06-08 19:52 ` Björn Lundin
2018-06-08 18:44 ` Shark8
2018-06-08 19:19 ` Bill Findlay
2018-06-10 14:11 ` Simon Wright
2018-06-10 14:36 ` Bill Findlay
2018-06-08 19:27 ` Dmitry A. Kazakov
2018-06-09 4:29 ` eduardsapotski
2018-06-09 10:28 ` Björn Lundin
2018-06-10 10:37 ` M. Enzmann
2018-06-10 10:48 ` Simon Wright
2018-06-10 13:14 ` Bill Findlay
2018-06-10 14:14 ` Simon Wright
2018-06-10 14:31 ` Bill Findlay
2018-06-10 16:44 ` Simon Wright
2018-06-11 13:36 ` Bill Findlay
2018-06-11 14:15 ` Simon Wright
2018-06-11 14:44 ` Bill Findlay [this message]
2018-06-11 17:00 ` Simon Wright
2018-06-11 19:27 ` Bill Findlay
2018-06-11 19:41 ` Simon Wright
2018-06-11 19:57 ` Simon Wright
2018-06-11 20:37 ` Bill Findlay
2018-06-11 21:06 ` Simon Wright
2018-06-10 18:22 ` M. Enzmann
2018-06-10 19:54 ` Alejandro R. Mosteo
2018-06-10 20:11 ` Dan'l Miller
2018-06-10 21:31 ` Alejandro R. Mosteo
2018-06-10 22:39 ` Dan'l Miller
2018-06-11 7:58 ` Alejandro R. Mosteo
2018-06-11 8:28 ` Simon Wright
2018-06-11 9:32 ` Alejandro R. Mosteo
2018-06-11 10:38 ` Simon Wright
2018-06-11 11:04 ` Alejandro R. Mosteo
2018-06-11 14:03 ` Dmitry A. Kazakov
2018-06-12 16:03 ` fabien.chouteau
2018-07-14 11:22 ` Vincent
2018-07-14 19:34 ` Simon Wright
2018-07-16 11:53 ` Vincent
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox