<?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: Create library question in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/create-library-question/m-p/4437643#M42468</link>
    <description>&lt;!--!*#--&gt;&amp;gt; The make is GNU make.&lt;BR /&gt;&lt;BR /&gt;Well, that's one question answered.  Does it&lt;BR /&gt;have a version number?</description>
    <pubDate>Fri, 12 Jun 2009 18:12:01 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2009-06-12T18:12:01Z</dc:date>
    <item>
      <title>Create library question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/create-library-question/m-p/4437637#M42462</link>
      <description>Dear VMS Users,&lt;BR /&gt;&lt;BR /&gt;How can I do it in a command line if I have an object file: foo.obj and I want to add foo.obj to test.olb with name bar?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;YE LIU</description>
      <pubDate>Thu, 11 Jun 2009 13:22:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/create-library-question/m-p/4437637#M42462</guid>
      <dc:creator>YE LIU_1</dc:creator>
      <dc:date>2009-06-11T13:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Create library question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/create-library-question/m-p/4437638#M42463</link>
      <description>Set the module name within foo.whatever source as bar.  Syntax varies by language.&lt;BR /&gt;&lt;BR /&gt;If you want both foo and bar together, you'll likely have symbol name collisions.</description>
      <pubDate>Thu, 11 Jun 2009 13:52:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/create-library-question/m-p/4437638#M42463</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2009-06-11T13:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: Create library question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/create-library-question/m-p/4437639#M42464</link>
      <description>YE LIU,&lt;BR /&gt;&lt;BR /&gt;what problem are you trying to solve ?&lt;BR /&gt;&lt;BR /&gt;The name of the module (in case of an object module) is derived from the object module header inside the .OBJ file (see ANAL/OBJ)and not from the filename of the .OBJ file or from some other qualifier given to the LIBR command when inserting the .OBJ file into the .OLB library.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Thu, 11 Jun 2009 13:53:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/create-library-question/m-p/4437639#M42464</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2009-06-11T13:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Create library question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/create-library-question/m-p/4437640#M42465</link>
      <description>Hi, All&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply. I thought I need to do this when I saw in the original MMS file, there is a line:&lt;BR /&gt;&lt;BR /&gt;libraries:-&lt;BR /&gt;$(CFTSD_OLB)(cvt_price_d=$(OBJDIR)cvtpd_fsm.obj)&lt;BR /&gt;&lt;BR /&gt;I think cvtpd_fsm.obj will be module cvt_price_d in library $(CFSD_OLB). Am I right?&lt;BR /&gt;&lt;BR /&gt;Also, I have question on MMS: it seems that MMS allows different module of a library as an entity like: &lt;BR /&gt;&lt;BR /&gt;TEST.OLB(foo=foo.obj): foo.obj&lt;BR /&gt;&lt;BR /&gt;but in make, you can only use the library as an entity. How to convert this case to make from MMS.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;YE LIU&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Jun 2009 14:23:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/create-library-question/m-p/4437640#M42465</guid>
      <dc:creator>YE LIU_1</dc:creator>
      <dc:date>2009-06-12T14:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Create library question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/create-library-question/m-p/4437641#M42466</link>
      <description>&lt;!--!*#--&gt;&amp;gt; I think cvtpd_fsm.obj will be module&lt;BR /&gt;&amp;gt; cvt_price_d in library $(CFSD_OLB). Am I&lt;BR /&gt;&amp;gt; right?&lt;BR /&gt;&lt;BR /&gt;Sounds about right.  It's possible to have a&lt;BR /&gt;module name which differs from the name of&lt;BR /&gt;the object file.  ("rename x.obj y.obj" or&lt;BR /&gt;"cc /object = y.obj x.c", for example.)&lt;BR /&gt;&lt;BR /&gt;&amp;gt; but in make, you can only use the library&lt;BR /&gt;&amp;gt; as an entity.&lt;BR /&gt;&lt;BR /&gt;Is this true?  Perhaps there's a reason to&lt;BR /&gt;use MMS.  (Did you ever say which "make" you&lt;BR /&gt;were using?)&lt;BR /&gt;&lt;BR /&gt;&amp;gt; How to convert this case to make from MMS.&lt;BR /&gt;&lt;BR /&gt;I still don't know why you're doing this.  It&lt;BR /&gt;seems like much work, and I don't know what&lt;BR /&gt;the reward is supposed to be.</description>
      <pubDate>Fri, 12 Jun 2009 14:51:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/create-library-question/m-p/4437641#M42466</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-06-12T14:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Create library question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/create-library-question/m-p/4437642#M42467</link>
      <description>hi, Steve&lt;BR /&gt;&lt;BR /&gt;The make is GNU make.&lt;BR /&gt;&lt;BR /&gt;YE LIU</description>
      <pubDate>Fri, 12 Jun 2009 16:19:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/create-library-question/m-p/4437642#M42467</guid>
      <dc:creator>YE LIU_1</dc:creator>
      <dc:date>2009-06-12T16:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: Create library question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/create-library-question/m-p/4437643#M42468</link>
      <description>&lt;!--!*#--&gt;&amp;gt; The make is GNU make.&lt;BR /&gt;&lt;BR /&gt;Well, that's one question answered.  Does it&lt;BR /&gt;have a version number?</description>
      <pubDate>Fri, 12 Jun 2009 18:12:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/create-library-question/m-p/4437643#M42468</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-06-12T18:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: Create library question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/create-library-question/m-p/4437644#M42469</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;First you need to change the module name of the object using the appropriate language directive&lt;BR /&gt;&lt;BR /&gt;For example in C language, "#pragma module" directive would do it&lt;BR /&gt;&lt;BR /&gt;#pragma module bar&lt;BR /&gt;main()&lt;BR /&gt;{&lt;BR /&gt;printf("hello");&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Here is the MMS equivalent you need to create the object library from this module&lt;BR /&gt;&lt;BR /&gt;$ type descrip.mms&lt;BR /&gt;test.olb : test.olb(bar=hello.obj)&lt;BR /&gt;        libr/repl test.olb hello.obj&lt;BR /&gt;&lt;BR /&gt;Are you trying to do the same using Make utility.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Pramod.</description>
      <pubDate>Fri, 19 Jun 2009 10:11:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/create-library-question/m-p/4437644#M42469</guid>
      <dc:creator>Pramod Kumar M</dc:creator>
      <dc:date>2009-06-19T10:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Create library question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/create-library-question/m-p/4437645#M42470</link>
      <description>&amp;gt;&amp;gt;&amp;gt; but in make, you can only use the library as an entity. How to convert this case to make from MMS.&lt;BR /&gt;&lt;BR /&gt;Gnu make allows "archive" members as target, see the manual, as in&lt;BR /&gt;&lt;A href="http://www.cs.utah.edu/dept/old/texinfo/make/make.html#SEC101" target="_blank"&gt;http://www.cs.utah.edu/dept/old/texinfo/make/make.html#SEC101&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;For example&lt;BR /&gt;&lt;BR /&gt;$ ty makefile.&lt;BR /&gt;test.olb(bar): foo.obj&lt;BR /&gt;        $(AR) $@ $&amp;lt;&lt;BR /&gt;$&lt;BR /&gt;$ gmake -v&lt;BR /&gt;GNU Make 3.81rc2&lt;BR /&gt;Copyright (C) 2006  Free Software Foundation, Inc.&lt;BR /&gt;This is free software; see the source for copying conditions.&lt;BR /&gt;There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A&lt;BR /&gt;PARTICULAR PURPOSE.&lt;BR /&gt;&lt;BR /&gt;This program built for VMS&lt;BR /&gt;$&lt;BR /&gt;$ libr /cre test&lt;BR /&gt;$&lt;BR /&gt;$ gmake&lt;BR /&gt;library/obj test.olb foo.obj&lt;BR /&gt;$&lt;BR /&gt;$ libr/list test&lt;BR /&gt;Directory of ELF OBJECT library SYS$SYSDEVICE:[HB.Y]TEST.OLB;1 on 22-JUN-2009 17&lt;BR /&gt;:37:42&lt;BR /&gt;Creation date:  22-JUN-2009 17:37:26      Creator:  Librarian I01-42&lt;BR /&gt;Revision date:  22-JUN-2009 17:37:29      Library format:   6.0&lt;BR /&gt;Number of modules:      1                 Max. key length:  1024&lt;BR /&gt;Other entries:          1                 Preallocated index blocks:    213&lt;BR /&gt;Recoverable deleted blocks:        0      Total index blocks used:        2&lt;BR /&gt;Max. Number history records:      20      Library history records:        1&lt;BR /&gt;&lt;BR /&gt;BAR&lt;BR /&gt;$&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Jun 2009 10:41:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/create-library-question/m-p/4437645#M42470</guid>
      <dc:creator>H.Becker</dc:creator>
      <dc:date>2009-06-22T10:41:14Z</dc:date>
    </item>
  </channel>
</rss>

