<?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: GNV: make hitting command line maximum length in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/gnv-make-hitting-command-line-maximum-length/m-p/4465992#M42610</link>
    <description>The error messages from make are correct. I was running make on a makefile in a directory where the required include files do not exist. This is just to show that make is starting and parsing the makefile. But run make in the proper directory and all I get is a bus error.&lt;BR /&gt;&lt;BR /&gt;Zlib is available from zlib.net and the VMS make for it was written by Martin P.J. Zinser.&lt;BR /&gt;&lt;BR /&gt;You can see "gmake" in one place because I forgot to change it. In order to not conflict with the GNV make, I renamed my build of make to gmake.</description>
    <pubDate>Fri, 24 Jul 2009 16:54:01 GMT</pubDate>
    <dc:creator>Maxy2</dc:creator>
    <dc:date>2009-07-24T16:54:01Z</dc:date>
    <item>
      <title>GNV: make hitting command line maximum length</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnv-make-hitting-command-line-maximum-length/m-p/4465987#M42605</link>
      <description>&lt;!--!*#--&gt;My makefiles (make, not MMS) seem to be exceeding the maximum command line length. For example:&lt;BR /&gt;&lt;BR /&gt;OBJECTS = file1.obj file2.obj file3.obj (etc.)&lt;BR /&gt;&lt;BR /&gt;.PHONY: clean&lt;BR /&gt;clean: &lt;BR /&gt;        $(RM) $(OBJECTS) &lt;BR /&gt;&lt;BR /&gt;Once OBJECTS gets to be a certain length (a few lines long, around 1000 characters or so), clean won't work. I've tried invoking make from bash and from DCL, and the same thing happens. Using line continuation characters inside the makefile doesn't help, although if the command is written out to a .com script with line continuation characters and then invoked, it works fine.&lt;BR /&gt;&lt;BR /&gt;The release notes for the VMS port of make seem to imply that make is supposed to do something like that (i.e. create a temporary script and invoke it) automatically to circumvent the maximum line length limit. &lt;BR /&gt;&lt;BR /&gt;Any other suggestions?</description>
      <pubDate>Fri, 24 Jul 2009 04:02:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnv-make-hitting-command-line-maximum-length/m-p/4465987#M42605</guid>
      <dc:creator>Maxy2</dc:creator>
      <dc:date>2009-07-24T04:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: GNV: make hitting command line maximum length</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnv-make-hitting-command-line-maximum-length/m-p/4465988#M42606</link>
      <description>Maxy2,&lt;BR /&gt;&lt;BR /&gt;  Yes DCL is showing its age with absurdly low limits on things like command lines and tokens. Drives me nuts having to code complex workarounds&lt;BR /&gt;&lt;BR /&gt;If you're a high enough version of OpenVMS (at least V7.3) you can try extending your limits with:&lt;BR /&gt;&lt;BR /&gt;$ SET PROCESS/TOKEN=EXTEND&lt;BR /&gt;&lt;BR /&gt;Unfortunately this doesn't work for everything. For example, parameters to batch jobs and RSH commands are still stuck at 255 characters maximum :-(&lt;BR /&gt;&lt;BR /&gt;Even the increased limits only takes it up to 4000 bytes, which is still rather low for generated commands.&lt;BR /&gt;&lt;BR /&gt;If the extra long lines are a result of expanded file specification, you may be able to reduce them using (short) concealed logical names.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 24 Jul 2009 04:23:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnv-make-hitting-command-line-maximum-length/m-p/4465988#M42606</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2009-07-24T04:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: GNV: make hitting command line maximum length</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnv-make-hitting-command-line-maximum-length/m-p/4465989#M42607</link>
      <description>&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;although if the command is written out to a .com script with line continuation characters and then invoked, it works fine.&lt;BR /&gt;&lt;BR /&gt;The release notes for the VMS port of make ...&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;GNV make is old. It indeed creates and uses a temproary command file.&lt;BR /&gt;&lt;BR /&gt;If you use it from DCL (the .obj indicate you are) then you may want to replace GNV make with the current version of GNU make, which is V3.81. There are some fixes in handling long action lines. They are split and written to command procedures and then executed under the control of make. &lt;BR /&gt;&lt;BR /&gt;Also, newer versions keep the temporary command file, if you use the -d switch. But I would check for CMD&lt;SOME-DIGITS&gt;.COM in sys$scratch or the default directory, anyway. They may be left in case of an error and they may give you some hints why this command  failed.&lt;BR /&gt;&lt;BR /&gt;I never tried GNU make V3.81 within GNV/bash: I have no idea whether it works or not.&lt;BR /&gt;&lt;BR /&gt;&lt;/SOME-DIGITS&gt;</description>
      <pubDate>Fri, 24 Jul 2009 07:30:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnv-make-hitting-command-line-maximum-length/m-p/4465989#M42607</guid>
      <dc:creator>H.Becker</dc:creator>
      <dc:date>2009-07-24T07:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: GNV: make hitting command line maximum length</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnv-make-hitting-command-line-maximum-length/m-p/4465990#M42608</link>
      <description>&lt;!--!*#--&gt;I downloaded make 3.81 and followed the build instructions. It seems to run for trivial examples, but for anything real I get a bus error:&lt;BR /&gt;&lt;BR /&gt;$ run make.exe&lt;BR /&gt;makefile.:1: common.mak: no such file or directory&lt;BR /&gt;makefile.:54: handledepends.mak: no such file or directory&lt;BR /&gt;gmake.exe;1: *** No rule to make target `handledepends.mak'.  Stop.&lt;BR /&gt;%NONAME-E-NOMSG, Message number 00000002&lt;BR /&gt;&lt;BR /&gt;$ bash&lt;BR /&gt;&lt;BR /&gt;bash$ gmake.exe&lt;BR /&gt;makefile.:1: common.mak: no such file or directory&lt;BR /&gt;makefile.:54: handledepends.mak: no such file or directory&lt;BR /&gt;gmake.exe: *** No rule to make target `handledepends.mak'.  Stop.&lt;BR /&gt;%NONAME-E-NOMSG, Message number 00000002&lt;BR /&gt;&lt;BR /&gt;bash$ make -f zlib.mak all&lt;BR /&gt;%SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual address=0000000000000064, PC=0000000000067E70, PS=0000001B&lt;BR /&gt;%TRACE-F-TRACEBACK, symbolic stack dump follows&lt;BR /&gt;image     module    routine               line      rel PC           abs PC     &lt;BR /&gt;MAKE  IMPLICIT  pattern_search           13157 0000000000002BE0 0000000000067E70&lt;BR /&gt;MAKE  IMPLICIT  try_implicit_rule        13112 00000000000000D2 0000000000065362&lt;BR /&gt;MAKE  REMAKE  update_file_1              27566 0000000000001AA2 000000000005BEE2&lt;BR /&gt;MAKE  REMAKE  update_file                27420 0000000000000D72 000000000005B1B2&lt;BR /&gt;MAKE  REMAKE  update_goal_chain          27267 0000000000000432 000000000005A872&lt;BR /&gt;MAKE  MAIN  main                         15155 00000000000038F2 0000000000048682&lt;BR /&gt;MAKE  MAIN  __main                       14172 0000000000000212 0000000000044FA2&lt;BR /&gt;                                             0 FFFFFFFF80BA8192 FFFFFFFF80BA8192&lt;BR /&gt;DCL                                          0 000000000006BD22 000000007AB8FD22&lt;BR /&gt;%TRACE-I-END, end of TRACE stack dump&lt;BR /&gt;Bus error</description>
      <pubDate>Fri, 24 Jul 2009 12:01:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnv-make-hitting-command-line-maximum-length/m-p/4465990#M42608</guid>
      <dc:creator>Maxy2</dc:creator>
      <dc:date>2009-07-24T12:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: GNV: make hitting command line maximum length</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnv-make-hitting-command-line-maximum-length/m-p/4465991#M42609</link>
      <description>&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;$ run make.exe&lt;BR /&gt;makefile.:1: common.mak: no such file or directory&lt;BR /&gt;makefile.:54: handledepends.mak: no such file or directory&lt;BR /&gt;gmake.exe;1: *** No rule to make target `handledepends.mak'.  Stop.&lt;BR /&gt;%NONAME-E-NOMSG, Message number 00000002&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;I assume that is a run of GNU make, but I do not understand, why the started exe is make and the error message is reported by gmake.&lt;BR /&gt;Anyway, you seem to get the same error when running gmake in bash.&lt;BR /&gt;&lt;BR /&gt;What's on line 1 and 54 and where are these *.mak files?&lt;BR /&gt;&lt;BR /&gt;Where can I download your zlib kit?&lt;BR /&gt;</description>
      <pubDate>Fri, 24 Jul 2009 14:54:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnv-make-hitting-command-line-maximum-length/m-p/4465991#M42609</guid>
      <dc:creator>H.Becker</dc:creator>
      <dc:date>2009-07-24T14:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: GNV: make hitting command line maximum length</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnv-make-hitting-command-line-maximum-length/m-p/4465992#M42610</link>
      <description>The error messages from make are correct. I was running make on a makefile in a directory where the required include files do not exist. This is just to show that make is starting and parsing the makefile. But run make in the proper directory and all I get is a bus error.&lt;BR /&gt;&lt;BR /&gt;Zlib is available from zlib.net and the VMS make for it was written by Martin P.J. Zinser.&lt;BR /&gt;&lt;BR /&gt;You can see "gmake" in one place because I forgot to change it. In order to not conflict with the GNV make, I renamed my build of make to gmake.</description>
      <pubDate>Fri, 24 Jul 2009 16:54:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnv-make-hitting-command-line-maximum-length/m-p/4465992#M42610</guid>
      <dc:creator>Maxy2</dc:creator>
      <dc:date>2009-07-24T16:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: GNV: make hitting command line maximum length</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnv-make-hitting-command-line-maximum-length/m-p/4465993#M42611</link>
      <description>From make's README.VMS:&lt;BR /&gt;&lt;BR /&gt;New for 3.77:&lt;BR /&gt;&lt;BR /&gt;Command lines of excessive length are correctly broken and written to a&lt;BR /&gt;batch file in sys$scratch for later execution. There's no limit to the&lt;BR /&gt;lengths of commands (and no need for .opt files :-) any more.&lt;BR /&gt;&lt;BR /&gt;So, how come there does seem to be a limit?</description>
      <pubDate>Fri, 24 Jul 2009 17:18:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnv-make-hitting-command-line-maximum-length/m-p/4465993#M42611</guid>
      <dc:creator>Maxy2</dc:creator>
      <dc:date>2009-07-24T17:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: GNV: make hitting command line maximum length</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnv-make-hitting-command-line-maximum-length/m-p/4465994#M42612</link>
      <description>I'm slow, I don't get it.&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;OBJECTS = file1.obj file2.obj file3.obj (etc.)&lt;BR /&gt;&lt;BR /&gt;.PHONY: clean&lt;BR /&gt;clean:&lt;BR /&gt;        $(RM) $(OBJECTS) &lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;illustrates the error for exceeding the command line, it's not really an extract of any makefile you tried.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;bash$ make -f zlib.mak all&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;Seems to be a makefile for zlib, but that is not in the zlib123.zip I fetched from zlib.net. However, there is a Makefile and GNV make seems to have no problem to build from that. GNU make for VMS reads it but has no implicit rules for .o, as it is built for VMS: it only has implicit rules .obj.&lt;BR /&gt;&lt;BR /&gt;In my zlib kit there is also a make_vms.com which generates a descrip.mms for MMS or MMK. GNV make or GNU make can't read it, there are spaces where make expects tabs. Once these are changed (and after doubling $ in sys$output and creating the libz.olb) GNU make can process this input file with no problem other than that a link fails due to a missing a missing x11vms:xvmsutils.olb.&lt;BR /&gt;&lt;BR /&gt;What/where is this zlib.mak and what should it show regarding to the base problem?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;New for 3.77:&lt;BR /&gt;&lt;BR /&gt;Command lines of excessive length are correctly broken and written to a&lt;BR /&gt;batch file in sys$scratch for later execution. There's no limit to the&lt;BR /&gt;lengths of commands (and no need for .opt files :-) any more.&lt;BR /&gt;&lt;BR /&gt;So, how come there does seem to be a limit?&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;There was at least one report in 2003 or 2004 that command line splitting was broken for some action lines. Without knowing and seeing the failing action line it is difficult to say what the problem is and how to avoid it or work around it.&lt;BR /&gt;&lt;BR /&gt;For a test, I created a very long action line which was correctly handled by GNU 3.81 but was not by GNV make.</description>
      <pubDate>Sat, 25 Jul 2009 15:40:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnv-make-hitting-command-line-maximum-length/m-p/4465994#M42612</guid>
      <dc:creator>H.Becker</dc:creator>
      <dc:date>2009-07-25T15:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: GNV: make hitting command line maximum length</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnv-make-hitting-command-line-maximum-length/m-p/4465995#M42613</link>
      <description>&lt;!--!*#--&gt;&amp;gt; I'm slow, I don't get it.&lt;BR /&gt;&lt;BR /&gt;I'm sorry. I'm leaving out too much information.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;gt;OBJECTS = file1.obj file2.obj file3.obj (etc.)&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;.PHONY: clean&lt;BR /&gt;&amp;gt;clean:&lt;BR /&gt;&amp;gt;$(RM) $(OBJECTS) &lt;BR /&gt;&amp;gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&amp;gt;illustrates the error for exceeding &lt;BR /&gt;&amp;gt;the command line, it's not really an &lt;BR /&gt;&amp;gt;extract of any makefile you tried.&lt;BR /&gt;&lt;BR /&gt;No. This IS an extract of a makefile that I tried. It isn't the only instance where I found this problem, but it is the cleanest most self-contained example from among the ones I encountered.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Seems to be a makefile for zlib, but that is not...&lt;BR /&gt;&lt;BR /&gt;The makefile that I was trying to run for zlib is not the one that comes with zlib. I have run the MMS file for zlib. I have made a my own makefile from the MMS file that DOES run with GNV make (i.e. make version 3.78.1 that comes with GNV). I downloaded the source for make 3.81 and built it myself following the VMS building instructions. However, using this build, this same makefile that works with make 3.78.1 throws a bus error. There must be something not quite right with this build of make 3.81 that I built myself. I would love to get a copy of a built version of make 3.81, because I'm obviously having some trouble buildng one myself.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; For a test, I created a very long action &lt;BR /&gt;&amp;gt; line which was correctly handled by GNU &lt;BR /&gt;&amp;gt; 3.81 but was not by GNV make.&lt;BR /&gt;&lt;BR /&gt;This is great news, and all the more reason why I'd love to get my hands on a working make 3.81 build.</description>
      <pubDate>Mon, 27 Jul 2009 11:56:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnv-make-hitting-command-line-maximum-length/m-p/4465995#M42613</guid>
      <dc:creator>Maxy2</dc:creator>
      <dc:date>2009-07-27T11:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: GNV: make hitting command line maximum length</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnv-make-hitting-command-line-maximum-length/m-p/4465996#M42614</link>
      <description>If Your system is an Alpha VMS 7.3-1 or later, get my executable make 3.81&lt;BR /&gt; http://mpiw10/vms$common/exe/make.exe&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Jul 2009 12:40:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnv-make-hitting-command-line-maximum-length/m-p/4465996#M42614</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2009-07-27T12:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: GNV: make hitting command line maximum length</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnv-make-hitting-command-line-maximum-length/m-p/4465997#M42615</link>
      <description>Thanks, but our system is Itanium OpenVMS 8.3.</description>
      <pubDate>Mon, 27 Jul 2009 12:51:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnv-make-hitting-command-line-maximum-length/m-p/4465997#M42615</guid>
      <dc:creator>Maxy2</dc:creator>
      <dc:date>2009-07-27T12:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: GNV: make hitting command line maximum length</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnv-make-hitting-command-line-maximum-length/m-p/4465998#M42616</link>
      <description>&lt;!--!*#--&gt;It looks like I left out a line that is relevant. Here is a complete makefile that shows two problems:&lt;BR /&gt;&lt;BR /&gt;SHELL = /gnu/bin/bash&lt;BR /&gt;MYFILES = file01.txt file02.txt file03.txt file04.txt file05.txt \&lt;BR /&gt;file06.txt file07.txt file08.txt file09.txt file10.txt \&lt;BR /&gt;file11.txt file12.txt file13.txt file14.txt file15.txt \&lt;BR /&gt;file16.txt file17.txt file18.txt file19.txt file20.txt \&lt;BR /&gt;file21.txt file22.txt file23.txt file24.txt file25.txt &lt;BR /&gt;&lt;BR /&gt;.PHONY: test1 test2&lt;BR /&gt;test1:&lt;BR /&gt; touch $(MYFILES)&lt;BR /&gt;&lt;BR /&gt;test2:&lt;BR /&gt; DCL show time&lt;BR /&gt;&lt;BR /&gt;I had the SHELL line in my example before, but I didn't think it was relevant. Turns out it is. In this makefile, test1 fails and test2 works. If you take out the SHELL line, test1 works and test2 fails, returning an error that stops make from proceeding:&lt;BR /&gt;&lt;BR /&gt;bash$ make -f support4.mak test2      &lt;BR /&gt;DCL show time&lt;BR /&gt;  27-JUL-2009 12:21:04&lt;BR /&gt;/gnu/bin/make: *** [test2] Error 1&lt;BR /&gt;bash$ &lt;BR /&gt;&lt;BR /&gt;I had no idea that my fix for test2 actually caused of the problem with test1.</description>
      <pubDate>Mon, 27 Jul 2009 15:25:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnv-make-hitting-command-line-maximum-length/m-p/4465998#M42616</guid>
      <dc:creator>Maxy2</dc:creator>
      <dc:date>2009-07-27T15:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: GNV: make hitting command line maximum length</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnv-make-hitting-command-line-maximum-length/m-p/4465999#M42617</link>
      <description>&lt;!--!*#--&gt;Sorry, one more thing. The reason why there is an Exit 1 error from make is because the DCL command (all of them) are returning an error code 1.&lt;BR /&gt;&lt;BR /&gt;bash$ ls hello.c&lt;BR /&gt;hello.c&lt;BR /&gt;bash$ echo $?&lt;BR /&gt;0&lt;BR /&gt;bash$ dcl show time&lt;BR /&gt;  27-JUL-2009 12:35:31&lt;BR /&gt;bash$ echo $?&lt;BR /&gt;1&lt;BR /&gt;bash$</description>
      <pubDate>Mon, 27 Jul 2009 15:38:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnv-make-hitting-command-line-maximum-length/m-p/4465999#M42617</guid>
      <dc:creator>Maxy2</dc:creator>
      <dc:date>2009-07-27T15:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: GNV: make hitting command line maximum length</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnv-make-hitting-command-line-maximum-length/m-p/4466000#M42618</link>
      <description>Um, OpenVMS I64 V8.3 *is* newer than V7.3-1.   &lt;BR /&gt;You'll want to look at the update.&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Jul 2009 15:44:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnv-make-hitting-command-line-maximum-length/m-p/4466000#M42618</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2009-07-27T15:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: GNV: make hitting command line maximum length</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnv-make-hitting-command-line-maximum-length/m-p/4466001#M42619</link>
      <description>I was just assuming that any executable built for Alpha would not run on Itanium. &lt;BR /&gt;</description>
      <pubDate>Mon, 27 Jul 2009 16:35:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnv-make-hitting-command-line-maximum-length/m-p/4466001#M42619</guid>
      <dc:creator>Maxy2</dc:creator>
      <dc:date>2009-07-27T16:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: GNV: make hitting command line maximum length</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnv-make-hitting-command-line-maximum-length/m-p/4466002#M42620</link>
      <description>That wasn't my reading of that note.  You're correct that you do need a platform-specific executable, but I'd confirm that the port of make isn't applicable in your environment.  I'd expect the intent of the comment was not that Alpha was central, but that the port required some feature of OpenVMS that first arrived with V7.3-1.&lt;BR /&gt;&lt;BR /&gt;If you're using gnv, you're going to want to rummage around for (newer) pieces.  What's in gnv is often a little stale, and there can be updates and fixes around.  John Malmberg posted various updates to gnv over at the Eisner host, for instance.  Though the gnv bits have moved (and there are references at the following), start reading here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://eisner.encompasserve.org/~malmberg/GNV/" target="_blank"&gt;http://eisner.encompasserve.org/~malmberg/GNV/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;There's been an associated and running discussion about gnv and about other open source on OpenVMS in general, too.  (It'd be nice to see the latest gnv bits available out at sourceforge, for instance.)</description>
      <pubDate>Mon, 27 Jul 2009 17:02:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnv-make-hitting-command-line-maximum-length/m-p/4466002#M42620</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2009-07-27T17:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: GNV: make hitting command line maximum length</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnv-make-hitting-command-line-maximum-length/m-p/4466003#M42621</link>
      <description>As said in the other thread, the dcl utility has a bug, it should not return a VMS success status.&lt;BR /&gt;&lt;BR /&gt;Using GNV make from bash ...&lt;BR /&gt;&lt;BR /&gt;If you have the SHELL specified, your action line for test2 really is $(SHELL) -c 'dcl show time'. So you get the 0 returned from shell and make sees success.&lt;BR /&gt;&lt;BR /&gt;The same applies to your action line for test1, now you have $(SHELL) -c 'touch file01.txt file02.txt file03.txt file04.txt file05.txt ...'&lt;BR /&gt;&lt;BR /&gt;That fails in my environment with &lt;BR /&gt;make: execv 2: /gnu/bin/bash: no such file or directory&lt;BR /&gt;make: execv 2: -c: no such file or directory&lt;BR /&gt;make: execv 2: touch file01.txt file02.txt file03.txt&lt;BR /&gt;&lt;BR /&gt;At the moment I can't explain the behavior of GNV make, here.&lt;BR /&gt;&lt;BR /&gt;It looks like you need the SHELL only to work around the bug in the dcl utility. So you may want to use /gnu/bin/bash -c 'show time' for such actions. (However, fixing the bug in the dcl utility seems easier :-)&lt;BR /&gt;&lt;BR /&gt;Using GNU make 3.81 ...&lt;BR /&gt;&lt;BR /&gt;GNU make for VMS will not use the specified SHELL. In my environment it works for test1  And if you remove the dcl in the other action line, it works for test2, too.  Both from bash and (the real) DCL.&lt;BR /&gt;&lt;BR /&gt;I do have zipped GNU make 3.81, built on V8.3 on Integrity, about 400 disk blocks. Let me know where to copy it or if you want me to attach it, here.</description>
      <pubDate>Tue, 28 Jul 2009 09:38:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnv-make-hitting-command-line-maximum-length/m-p/4466003#M42621</guid>
      <dc:creator>H.Becker</dc:creator>
      <dc:date>2009-07-28T09:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: GNV: make hitting command line maximum length</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/gnv-make-hitting-command-line-maximum-length/m-p/4466004#M42622</link>
      <description>&lt;!--!*#--&gt;Some things are finally starting to become clear. The reason defining SHELL improved my situation was because of the issue with DCL return codes. This really only masked the situation, and created another problem of severely limiting the command line length. So, to summarize:&lt;BR /&gt;&lt;BR /&gt;DON'T define makefile SHELL variable. Even if correctly defined, this will severely limit the maximum command line length.&lt;BR /&gt;&lt;BR /&gt;DO define an alias for make with the full path (i.e. alias make=/gnu/bin/make). Otherwise make can't properly re-execute itself when needed.&lt;BR /&gt;&lt;BR /&gt;DCL commands don't return zero on success. Therefore, if you use them in a makefile, either instruct make to ignore the return value with "-" or invoke something after the DCL command that will return a zero on success, like:&lt;BR /&gt;&lt;BR /&gt;    DCL DIR /FULL | grep MAKEFILE&lt;BR /&gt;&lt;BR /&gt;or &lt;BR /&gt;    DCL DIR MYFILE.TXT ; dcl_return $?&lt;BR /&gt;&lt;BR /&gt;where dcl_return is:&lt;BR /&gt;&lt;BR /&gt;#!/gnu/bin/bash&lt;BR /&gt;# Converts DCL return value into bash return code&lt;BR /&gt;# In DCL, odd value means success. In bash, 0 value means success.&lt;BR /&gt;# If DCL failure (even), return the DCL return value.&lt;BR /&gt;if [ $(( $1 &amp;amp; 1 )) -eq "1" ]&lt;BR /&gt;then&lt;BR /&gt;    exit 0&lt;BR /&gt;else&lt;BR /&gt;    exit $1&lt;BR /&gt;fi&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Jul 2009 12:38:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/gnv-make-hitting-command-line-maximum-length/m-p/4466004#M42622</guid>
      <dc:creator>Maxy2</dc:creator>
      <dc:date>2009-07-28T12:38:47Z</dc:date>
    </item>
  </channel>
</rss>

