CMSHR.EXE and the Linker
-
Topic author - Contributor
- Posts: 18
- Joined: Mon Aug 14, 2023 6:00 pm
- Reputation: 0
- Status: Offline
CMSHR.EXE and the Linker
Now that the Pascal Compiler is available we are testing our system build procedures on x86. We use CMS for our source code libraries. Many of our utilities make use of the callable CMS interface. We have noticed that with x86 the sys$library:cmsshr.exe is not "automatically" included in an image link. We have had to modify our build procedures to include a linker opt file that specifies sys$library:cmsshr.exe/share so that they can resolve any CMS$ calls they may have. While its not an issue to modify the build procedures, I was wanting to point it out in case its not the expected behavior.
We currently use the following on our IA64 &Alpha systems
say = "write sys$output"
$!
$ say " Compiling Build..."
$ pascal build
$!
$ say " Compiling build cld..."
$ set command/object build_cld
$!
$ say " Linking build..."
$ link build,build_cld
$!
We have had to change the link command to be
$ link build,build_cld,build/opt
The build.opt file contains the following: sys$library:cmsshr/share
We currently use the following on our IA64 &Alpha systems
say = "write sys$output"
$!
$ say " Compiling Build..."
$ pascal build
$!
$ say " Compiling build cld..."
$ set command/object build_cld
$!
$ say " Linking build..."
$ link build,build_cld
$!
We have had to change the link command to be
$ link build,build_cld,build/opt
The build.opt file contains the following: sys$library:cmsshr/share
Last edited by rodprince on Wed Aug 16, 2023 10:24 am, edited 1 time in total.
-
- Master
- Posts: 157
- Joined: Fri Jun 28, 2019 8:45 am
- Reputation: 0
- Location: South Tyneside, UK
- Status: Offline
- Contact:
Re: CMSHR.EXE and the Linker
If CMS is installed then it should be in SYS$SHARE:IMAGELIB.OLB
$ pipe lib/list sys$share:imagelib.olb | sear sys$input: cms
should show
CMSSHR
and linker should therefore find it.
Added in 8 minutes 15 seconds:
I did a quick test
The following products have been installed:
VSI X86VMS CMS V4.8-9 Layered Product
VSI X86VMS DECSET V13.0-1 Platform (product suite)
%PCSI-I-IVPEXECUTE, executing test procedure for VSI X86VMS CMS V4.8-9 ...
%PCSI-I-IVPSUCCESS, test procedure completed successfully
$ pipe lib/list sys$share:imagelib.olb | sear sys$input: cms
%SEARCH-I-NOMATCHES, no strings matched
Added in 8 minutes 1 second:
$lib/insert sys$share:imagelib.olb sys$share:cmsshr.exe
should add it
$ pipe lib/list sys$share:imagelib.olb | sear sys$input: cms
should show
CMSSHR
and linker should therefore find it.
Added in 8 minutes 15 seconds:
I did a quick test
The following products have been installed:
VSI X86VMS CMS V4.8-9 Layered Product
VSI X86VMS DECSET V13.0-1 Platform (product suite)
%PCSI-I-IVPEXECUTE, executing test procedure for VSI X86VMS CMS V4.8-9 ...
%PCSI-I-IVPSUCCESS, test procedure completed successfully
$ pipe lib/list sys$share:imagelib.olb | sear sys$input: cms
%SEARCH-I-NOMATCHES, no strings matched
Added in 8 minutes 1 second:
$lib/insert sys$share:imagelib.olb sys$share:cmsshr.exe
should add it
Ian Miller
[ personal opinion only. usual disclaimers apply. Do not taunt happy fun ball ].
[ personal opinion only. usual disclaimers apply. Do not taunt happy fun ball ].
-
Topic author - Contributor
- Posts: 18
- Joined: Mon Aug 14, 2023 6:00 pm
- Reputation: 0
- Status: Offline
Re: CMSHR.EXE and the Linker
I do see the sys$share:cmsshr.exe file.
The lib/insert command you specified makes the linker all happy, and I don't have to modify any build procedures.
Thank You
Rod
The lib/insert command you specified makes the linker all happy, and I don't have to modify any build procedures.
Thank You
Rod
Re: CMSHR.EXE and the Linker
The DECset installation should have done that insert command for you. I'll pass this long to the right person.
-
- Master
- Posts: 136
- Joined: Sat Aug 15, 2020 9:00 am
- Reputation: 0
- Location: Cambridge, UK
- Status: Offline
Re: CMSHR.EXE and the Linker
Slight thread drift, but will a future DECSet include LSE? Any rough timescale?
CHris
CHris
--
Chris
Chris
-
- Master
- Posts: 385
- Joined: Fri Apr 17, 2020 7:31 pm
- Reputation: 0
- Location: Rhode Island, USA
- Status: Offline
- Contact:
Re: CMSHR.EXE and the Linker
https://vmssoftware.com/about/roadmap/ says H2 aka within next 4.5 month.
-
- Master
- Posts: 136
- Joined: Sat Aug 15, 2020 9:00 am
- Reputation: 0
- Location: Cambridge, UK
- Status: Offline
Re: CMSHR.EXE and the Linker
Missed that - thanks Arne
Chris
Chris
Last edited by cct on Wed Aug 16, 2023 7:03 pm, edited 1 time in total.
--
Chris
Chris
Re: CMSHR.EXE and the Linker
Huh? The current DECset kit doesn't include LSE? I'm running LSE on my x86 systems (and have for a while now). Maybe I have an internal kit that hasn't been published? I'll go ask.
-
- Master
- Posts: 385
- Joined: Fri Apr 17, 2020 7:31 pm
- Reputation: 0
- Location: Rhode Island, USA
- Status: Offline
- Contact:
Re: CMSHR.EXE and the Linker
That is the word.
And what the roadmap says.
And what https://vmssoftware.com/products/langua ... ve-editor/ says.
I am sure you have access to a lot of things the rest of us don't have.
Re: CMSHR.EXE and the Linker
Yes, I've confirmed that the current kit on the portal doesn't have LSE. I have an internal version. It works for me, but I did notice that in spite of asking for VMSLSE command syntax, it comes up in PORTABLE more. I had to add explicit commands to my LSE init file. The maintainer knows about that. I'll push on him as appropriate.