<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: MMS script to OLB creation in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/mms-script-to-olb-creation/m-p/5100215#M43566</link>
    <description>Hoff and Martin,&lt;BR /&gt;Thank you very much sharing your experiences.&lt;BR /&gt;&lt;BR /&gt;Hoff: We got MMS software recently, so are using it on IA64, we will use MMS on Alpha too shortly. I am scary about our IA64 porting work after reading your issues caused by extra chars due to backup/reastore. You are (great expereienced VMS guru) with us only, hope we can get your suggestions on any problems.&lt;BR /&gt;&lt;BR /&gt;Martin:&lt;BR /&gt;Good idea, I will try this.&lt;BR /&gt;OBJS = MOD1.OBJ,MOD2.OBJ,MOD3.OBJ&lt;BR /&gt;UTIL.OLB : UTIL.OLB($(OBJS))&lt;BR /&gt;&lt;BR /&gt;Yesterday I wrote my own RULES file and seems that also works well, but I like your idea is clear understanding for any other looking the scripts in the future.&lt;BR /&gt;&lt;BR /&gt;I have coded like below&lt;BR /&gt;&lt;BR /&gt;.c.olb :&lt;BR /&gt;       libr $(libflags) $(mms$target) $(mms$source_list)&lt;BR /&gt;&lt;BR /&gt;only I will have list all the source files names in the compilation rules.&lt;BR /&gt;&lt;BR /&gt;Thanks Martin, Stewen and Hoff, I will come back again if I have problems.&lt;BR /&gt;&lt;BR /&gt;Archie</description>
    <pubDate>Fri, 28 Mar 2008 14:57:05 GMT</pubDate>
    <dc:creator>Arch_Muthiah</dc:creator>
    <dc:date>2008-03-28T14:57:05Z</dc:date>
    <item>
      <title>MMS script to OLB creation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/mms-script-to-olb-creation/m-p/5100210#M43561</link>
      <description>All,&lt;BR /&gt;&lt;BR /&gt;I have used madgoat make utility for Alpha Build. Now I use MMS script for IA64 build.&lt;BR /&gt;&lt;BR /&gt;As per the MMS manaual, I will have to create the OLBs in the following way...&lt;BR /&gt;&lt;BR /&gt;UTIL(MOD1) : MOD1.OBJ&lt;BR /&gt; LIBR UTIL.OLB MOD1.OBJ&lt;BR /&gt;UTIL(MOD2) : MOD2.OBJ&lt;BR /&gt; LIBR UTIL.OLB MOD2.OBJ&lt;BR /&gt;UTIL(MOD3) : MOD3.OBJ&lt;BR /&gt; LIBR UTIL.OLB MOD3.OBJ&lt;BR /&gt;&lt;BR /&gt;Or using ::&lt;BR /&gt;UTIL.OLB :: MOD1.OBJ&lt;BR /&gt; LIBR UTIL.OLB MOD1.OBJ&lt;BR /&gt;&lt;BR /&gt;This way to create around 20 OLBs and many EXEs(using C, C++, macro 32 sources), I will have write hundrads and thousands of lines code and also I will have to use different CC qualifiers (not default CFLAGS). &lt;BR /&gt;&lt;BR /&gt;Many of you using MMS scripts, Is there any way to shorten the OLB creation scripts. There should be way in MMS, because in madgoat make utility, we do this with single line for each object file to be added to OLB using (built-in rule and action line).&lt;BR /&gt;&lt;BR /&gt;Thaks in advance&lt;BR /&gt;Archie</description>
      <pubDate>Thu, 27 Mar 2008 21:44:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/mms-script-to-olb-creation/m-p/5100210#M43561</guid>
      <dc:creator>Arch_Muthiah</dc:creator>
      <dc:date>2008-03-27T21:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: MMS script to OLB creation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/mms-script-to-olb-creation/m-p/5100211#M43562</link>
      <description>&amp;gt; [...] I will have to [...]&lt;BR /&gt;&lt;BR /&gt;Instead of what?  (I don't think so.)&lt;BR /&gt;&lt;BR /&gt;What, exactly, do you do with MMK which does&lt;BR /&gt;not work with MMS?&lt;BR /&gt;&lt;BR /&gt;You might try visiting:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://antinode.org/dec/index.html#Software" target="_blank"&gt;http://antinode.org/dec/index.html#Software&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;and then spending a little time looking at&lt;BR /&gt;almost any of the projects you'll find there.&lt;BR /&gt;I don't claim that they're ideal. but the&lt;BR /&gt;builders do seem to work pretty well.&lt;BR /&gt;&lt;BR /&gt;Most of them use object libraries (mostly to&lt;BR /&gt;simplify LINK commands), and, so far as I&lt;BR /&gt;know, anything there which works with MMK&lt;BR /&gt;will also work with MMS.  (You do need to use&lt;BR /&gt;MMS to do the automatic dependency&lt;BR /&gt;generation, but after that, either one should&lt;BR /&gt;do the job.)  And, as I recall, they&lt;BR /&gt;generally use pretty simple lists of object&lt;BR /&gt;files / module names, not long lists of messy&lt;BR /&gt;rules.</description>
      <pubDate>Thu, 27 Mar 2008 22:31:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/mms-script-to-olb-creation/m-p/5100211#M43562</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-03-27T22:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: MMS script to OLB creation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/mms-script-to-olb-creation/m-p/5100212#M43563</link>
      <description>Thanks Stewen.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; so far as I know, anything there which &lt;BR /&gt;&amp;gt;&amp;gt; works with MMK will also work with MMS.&lt;BR /&gt;Certainly MMS will do.&lt;BR /&gt;&lt;BR /&gt;Let me go through the link you mentioned and automatic dependency generation ?&lt;BR /&gt;&lt;BR /&gt;Archie</description>
      <pubDate>Thu, 27 Mar 2008 22:47:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/mms-script-to-olb-creation/m-p/5100212#M43563</guid>
      <dc:creator>Arch_Muthiah</dc:creator>
      <dc:date>2008-03-27T22:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: MMS script to OLB creation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/mms-script-to-olb-creation/m-p/5100213#M43564</link>
      <description>MMK for OpenVMS I64:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://mvb.saic.com/freeware/freewarev80/make-mmk/" target="_blank"&gt;http://mvb.saic.com/freeware/freewarev80/make-mmk/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Do also consider why you're using and maintaining a makefile, too, as opposed to either using something newer (ant), or using something easier to maintain (brute-force build). &lt;BR /&gt;&lt;BR /&gt;I've probably spent as much time dealing with makefile errors and with chasing stale bits erroneously included into builds as I've saved with incremental builds.  And the spaces and the tabs. &lt;BR /&gt;&lt;BR /&gt;Not a fan of classic make.  In any guise.&lt;BR /&gt;&lt;BR /&gt;Stephen Hoffman&lt;BR /&gt;HoffmanLabs LLC&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Mar 2008 00:23:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/mms-script-to-olb-creation/m-p/5100213#M43564</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2008-03-28T00:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: MMS script to OLB creation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/mms-script-to-olb-creation/m-p/5100214#M43565</link>
      <description>Archunan,&lt;BR /&gt;&lt;BR /&gt;I think I've never written dependancies for libraries like that (neither for MMK nor for MMS). Instead:&lt;BR /&gt;&lt;BR /&gt;OBJS = MOD1.OBJ,MOD2.OBJ,MOD3.OBJ&lt;BR /&gt;&lt;BR /&gt;UTIL.OLB : UTIL.OLB($(OBJS))&lt;BR /&gt;&lt;BR /&gt;even without an action line did The Right Thing(TM).&lt;BR /&gt;&lt;BR /&gt;cu,&lt;BR /&gt;  Martin</description>
      <pubDate>Fri, 28 Mar 2008 02:19:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/mms-script-to-olb-creation/m-p/5100214#M43565</guid>
      <dc:creator>Martin Vorlaender</dc:creator>
      <dc:date>2008-03-28T02:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: MMS script to OLB creation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/mms-script-to-olb-creation/m-p/5100215#M43566</link>
      <description>Hoff and Martin,&lt;BR /&gt;Thank you very much sharing your experiences.&lt;BR /&gt;&lt;BR /&gt;Hoff: We got MMS software recently, so are using it on IA64, we will use MMS on Alpha too shortly. I am scary about our IA64 porting work after reading your issues caused by extra chars due to backup/reastore. You are (great expereienced VMS guru) with us only, hope we can get your suggestions on any problems.&lt;BR /&gt;&lt;BR /&gt;Martin:&lt;BR /&gt;Good idea, I will try this.&lt;BR /&gt;OBJS = MOD1.OBJ,MOD2.OBJ,MOD3.OBJ&lt;BR /&gt;UTIL.OLB : UTIL.OLB($(OBJS))&lt;BR /&gt;&lt;BR /&gt;Yesterday I wrote my own RULES file and seems that also works well, but I like your idea is clear understanding for any other looking the scripts in the future.&lt;BR /&gt;&lt;BR /&gt;I have coded like below&lt;BR /&gt;&lt;BR /&gt;.c.olb :&lt;BR /&gt;       libr $(libflags) $(mms$target) $(mms$source_list)&lt;BR /&gt;&lt;BR /&gt;only I will have list all the source files names in the compilation rules.&lt;BR /&gt;&lt;BR /&gt;Thanks Martin, Stewen and Hoff, I will come back again if I have problems.&lt;BR /&gt;&lt;BR /&gt;Archie</description>
      <pubDate>Fri, 28 Mar 2008 14:57:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/mms-script-to-olb-creation/m-p/5100215#M43566</guid>
      <dc:creator>Arch_Muthiah</dc:creator>
      <dc:date>2008-03-28T14:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: MMS script to OLB creation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/mms-script-to-olb-creation/m-p/5100216#M43567</link>
      <description>I got the idea and solutions with the help of Martin, Stewen and Hoff.&lt;BR /&gt;&lt;BR /&gt;Their suggestion was very usefull to come to the solution.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Archie</description>
      <pubDate>Fri, 28 Mar 2008 14:59:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/mms-script-to-olb-creation/m-p/5100216#M43567</guid>
      <dc:creator>Arch_Muthiah</dc:creator>
      <dc:date>2008-03-28T14:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: MMS script to OLB creation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/mms-script-to-olb-creation/m-p/5100217#M43568</link>
      <description>&lt;!--!*#--&gt;&amp;gt; .c.olb :&lt;BR /&gt;&amp;gt; libr $(libflags) $(mms$target) $(mms$source_list)&lt;BR /&gt;&lt;BR /&gt;".c.olb"???&lt;BR /&gt;&lt;BR /&gt;I like the default rule (as shown in&lt;BR /&gt;SYS$COMMON:[SYSHLP.EXAMPLES.MMS]MMS$DEFAULT_RULES.MMS)&lt;BR /&gt;better:&lt;BR /&gt;&lt;BR /&gt;.OBJ.OLB :&lt;BR /&gt;        If "''F$Search("$(MMS$TARGET)")'" .EQS. "" Then $(LIBR)/Create $(MMS$TARGET)&lt;BR /&gt;        $(LIBR)$(LIBRFLAGS) $(MMS$TARGET) $(MMS$SOURCE)&lt;BR /&gt;&lt;BR /&gt;As you can see, it creates the library as&lt;BR /&gt;needed.&lt;BR /&gt;&lt;BR /&gt;You should also be more careful with the case&lt;BR /&gt;of your macros (like "libflags" or&lt;BR /&gt;"LIBRFLAGS"), or you may get into trouble&lt;BR /&gt;with the latest, more case-sensitive MMS.</description>
      <pubDate>Fri, 28 Mar 2008 15:46:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/mms-script-to-olb-creation/m-p/5100217#M43568</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-03-28T15:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: MMS script to OLB creation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/mms-script-to-olb-creation/m-p/5100218#M43569</link>
      <description>Steven,&lt;BR /&gt;&lt;BR /&gt;I have mispelled your name as "stewen" for long time, today only I observed, I am sorry.&lt;BR /&gt;&lt;BR /&gt;I have created the dependency rules as you have mentioned only, but here I typed wrongly as ".c.olb :".&lt;BR /&gt;&lt;BR /&gt;Anyway thanks for your time remainding me.&lt;BR /&gt;&lt;BR /&gt;Archie</description>
      <pubDate>Fri, 28 Mar 2008 20:06:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/mms-script-to-olb-creation/m-p/5100218#M43569</guid>
      <dc:creator>Arch_Muthiah</dc:creator>
      <dc:date>2008-03-28T20:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: MMS script to OLB creation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/mms-script-to-olb-creation/m-p/5100219#M43570</link>
      <description>&amp;gt; I have created the dependency rules [...]&lt;BR /&gt;&lt;BR /&gt;The default .OBJ.OLB rule is normally what&lt;BR /&gt;you want.  What you need you add to make it&lt;BR /&gt;work is that extra dependency of the library&lt;BR /&gt;on its elements, as shown by MV:&lt;BR /&gt;&lt;BR /&gt;UTIL.OLB : UTIL.OLB($(OBJS))</description>
      <pubDate>Fri, 28 Mar 2008 21:09:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/mms-script-to-olb-creation/m-p/5100219#M43570</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-03-28T21:09:11Z</dc:date>
    </item>
  </channel>
</rss>

