Programming

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Compilation on Vax with script files

    10 answers - 151 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Are there any script files that commonly compile large programs? Do you
    have an example?
    Thank you,
    Christopher Lusardi
  • No.1 | | 830 bytes | |

    Chris L:

    Are there any script files that commonly compile large programs? Do you
    have an example?

    Trying to remember my programming experience on VMS - 6 years ago
    So, IIRC, you have to
    1/ create a library (once) and set it (each session),
    must be "acs lib create", "acs lib set"
    2/ (once) compile each file (say xyz.ada) of your project with "ada
    xyz.ada";
    this should include it into the library, or else there is an ACS
    command for that
    3/ each time you want to recompile something (unit uvw), "acs comp uvw"
    does
    the job, with recompilations of depending units when necessary.

    course the "help" command, from prompt or from acs, will help you

    HTH, Gautier

    Ada programming --

    NB: For a direct answer, e-mail address on the Web site!

  • No.2 | | 559 bytes | |

    In article <1151930575.129180.284470@j8g2000cwa.googlegroups.c om>, "Chris L" <clusardi2k@aol.comwrites:

    Are there any script files that commonly compile large programs? Do you
    have an example?

    The only Ada compiler I know of for VAX is VAX/DEC/Compaq/HP Ada.
    As an Ada 83 compiler it includes the Ada Compilation System,
    abbreviated as ACS.

    Use a wildcard loop to compile all your source with the command

    ADA/SYNTAX <filespec>

    and then compile the whole thing with

    ACS CMPILE *
  • No.3 | | 977 bytes | |

    my recollection is :

    acs load *.ada
    acs recompile *

    was quite convenient.

    HTH.

    gautier_niouzes@hotmail.com wrote:
    Chris L:

    Are there any script files that commonly compile large programs? Do you
    have an example?

    Trying to remember my programming experience on VMS - 6 years ago
    So, IIRC, you have to
    1/ create a library (once) and set it (each session),
    must be "acs lib create", "acs lib set"
    2/ (once) compile each file (say xyz.ada) of your project with "ada
    xyz.ada";
    this should include it into the library, or else there is an ACS
    command for that
    3/ each time you want to recompile something (unit uvw), "acs comp uvw"
    does
    the job, with recompilations of depending units when necessary.

    course the "help" command, from prompt or from acs, will help you

    HTH, Gautier

    Ada programming --

    NB: For a direct answer, e-mail address on the Web site!

  • No.4 | | 986 bytes | |

    Chris L wrote:

    Are there any script files that commonly compile large programs? Do you
    have an example?

    You mean VAX - which implies DecAda - and not a more modern VMS?

    For compiling you won't need that much scripting. DecAda - like most
    Ada's handle dependencies automaticly so compile is just:

    acs load *.ada
    acs compile *
    acs link Main.ada

    However on large systems you might want to break sources down into
    several libraries - in which case you also need

    acs merge /Keep *

    and you should create your libraries with

    acs create library /Large

    For all commands you get extra help with

    help acs create library /Large

    But I guess you know that allready. And from there it is just a matter
    of a few dcl or mms scripts. And to answer your questions: There are no
    common files - the (dcl) scripts I use are highly specific and won't
    help you.

    Martin

  • No.5 | | 682 bytes | |

    Mon, 2006-07-03 at 23:19 -0700, Martin Krischik wrote:

    For compiling you won't need that much scripting. DecAda - like most
    Ada's handle dependencies automaticly so compile is just:

    Can I add to the wikibook wishlist then that
    the explanations of VAX Ada are collected into a page,
    by someone who knows the system? Seeing a compilation system
    that really has commands for creating and manipulating libraries
    teaches (me, at least) that the phrase "put that unit into the
    library" is more than implicit, and not a formal fantasy.

    This also has some brief explanations,
    http://loki.stockton.edu/~

    -- Georg

  • No.6 | | 272 bytes | |

    acs load *.ada
    acs recompile *
    That's what I'd use for multiple source compilation.
    The recompile command will figure out the order of compilation units to
    compile.
    Is this what Chris L is looking for?
    Charlie
  • No.7 | | 482 bytes | |

    Georg Bauhaus wrote:

    Mon, 2006-07-03 at 23:19 -0700, Martin Krischik wrote:
    >
    >
    >For compiling you won't need that much scripting. DecAda - like most
    >Ada's handle dependencies automaticly so compile is just:
    >
    >

    Can I add to the wikibook wishlist then that
    the explanations of VAX Ada are collected into a page,
    by someone who knows the system?

    Done

    #DecAda_for_VMS

    Martin
  • No.8 | | 292 bytes | |

    >#DecAda_for_VMS
    Looks good.
    Nits:
    - "DecAda" was called "DEC Ada"
    - Its now "HP Ada"
    If users do searches to find this, it might help to have the correct names
    with spaces in the product.
    Hasn't been caled VAX Ada in many years
  • No.9 | | 612 bytes | |

    Charlie McCutcheon wrote:

    DecAda_for_VMS

    Looks good.

    Nits:
    - "DecAda" was called "DEC Ada"
    - Its now "HP Ada"

    If users do searches to find this, it might help to have the correct names
    with spaces in the product.

    Some unnamed user pointed that out and it is all corrected now mentioning
    all names.

    Hasn't been caled VAX Ada in many years

    Well I work with DEC Ada every day and I did not know that it is called HP
    Ada nowadays. Everbody on the project calls it DEC Ada - as opposed to GNAT
    the other compiler we use.

    Martin

    PS:
  • No.10 | | 311 bytes | |

    Well I work with DEC Ada every day and I did not know that it is called
    HP
    Ada nowadays. Everbody on the project calls it DEC Ada - as opposed to
    GNAT
    the other compiler we use.

    Hardcopy documentation will say DEC Ada.

    its been rebranded to HP Ada (was Compaq Ada).

Re: Compilation on Vax with script files


max 4000 letters.
Your nickname that display:
In order to stop the spam: 7 + 6 =
QUESTION ON "Programming"

EMSDN.COM