home bbs files messages ]

Just a sample of the Echomail archive

COMPOSVM:

<< oldest | < older | list | newer > | newest >> ]

 Message 263,315 of 264,034 
 gcalliet to All 
 Re: Binutils 
 10 Sep 25 16:11:56 
 
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)

<< oldest | < older | list | newer > | newest >> ]


(c) 1994,  bbs@darkrealms.ca