From: gerard.calliet@pia-sofer.fr
Le 29/08/2025 à 21:18, Arne Vajhøj a écrit :
> On 8/29/2025 3:14 PM, Arne Vajhøj wrote:
>> On 8/29/2025 3:10 PM, Simon Clubley wrote:
>>> On 2025-08-29, Arne Vajhøj wrote:
>>>> On 8/29/2025 2:44 PM, Simon Clubley wrote:
>>>>> If anyone still has it installed, does the really old GNAT 3.11/3.12p
>>>>> use ld or the VMS linker ? I know they used gas, but what about the
>>>>> final link ?
>>>>
>>>> I have Gnat 3.12p / GCC 2.8.1 installed.
>>>>
>>>> I think it uses LINK.
>>>>
>>>>
>>>> $ gnat make
>>>> List of available qualifiers and options
>>>>
>>>> GNAT MAKE file /qualifiers (includes COMPILE /qualifiers)
>>>> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
                       gnatmake
>>>> Â Â Â Â ...
>>>> Â Â Â Â /LINKER_QUALIFIERS (switches for LINK)Â Â Â Â Â Â Â Â Â Â
-largs switches
>>>> Â Â Â Â ...
>>>>
>>>>
>>>> It mentions LINK.
>>>>
>>>
>>> Interesting thanks. Does the "ld" binary exist in whatever the binutils
>>> executables directory is ?
>>>
>>> If it does, and you run it as a foreign command with "--help", what
>>> output do you get ?
>>
>> Nothing with ld.
>>
>> $ dir gnu:[bin]
>>
>> Directory GNU:[BIN]
>>
>> AS.EXE;10Â Â Â Â Â Â Â Â Â Â ASISTANT.EXE;1Â Â Â Â Â GCC.EX
;1Â Â Â Â Â Â Â Â Â Â GNAT.EXE;1
>> GNATBIND.EXE;1Â Â Â Â Â GNATBL.EXE;1Â Â Â Â Â Â Â GNATCHOP.EXE;2
>> GNATELIM.EXE;1
>> GNATFIND.EXE;1Â Â Â Â Â GNATKR.EXE;1Â Â Â Â Â Â Â GNATLBR.EXE;1
>> GNATLINK.EXE;1
>> GNATLS.EXE;1Â Â Â Â Â Â Â GNATMAKE.EXE;1Â Â Â Â Â GNATMEM.EXE;1
>> GNATPREP.EXE;1
>> GNATPSTA.EXE;1Â Â Â Â Â GNATPSYS.EXE;1Â Â Â Â Â GNATSTUB.EXE;1
>> GNATXREF.EXE;1
>> MAKE.EXE;260Â Â Â Â Â Â Â OPENVMS7_1-GCC.EXE;1
>> SET_EXE.COM;11
>>
>> $ dir gnu:[bin]*ld*.*
>> %DIRECT-W-NOFILES, no files found
>
> $ link=="XXXX"
> $ link
> %DCL-W-IVVERB, unrecognized command verb - check validity and spelling
> Â \XXXX\
> $ gnat make hello
> gcc -c hello.adb
> gnatbind -x hello.ali
> gnatlink hello.ali
> %DCL-W-IVVERB, unrecognized command verb - check validity and spelling
> Â \XXXX\
> gnatmake: *** link failed.
>
> Arne
>
I'm very late on this discution.
I confirm that, for the Gnat Ada based on gcc 4.7 and binutils 2.23.1,
which we have rebuilt for VMS / Itanium with the help of Adalabs
(https://github.com/AdaLabs/gnat-vms), it was the VMS Linker which was
used, quote:
"""We will build binutils only to use the as component. The ld component
will be built in gcc (above), as it is a wrapper to the VMS LINKER"""
Gérard
--- SoupGate-Win32 v1.05
* Origin: you cannot sedate... all the things you hate (1:229/2)
|