Title: Is there a faster way to compile?

There are several techniques that can increase the speed of compilation.

  1. Split the compilation into two steps
    • First compile all of the source files with -jj (and omit -jc) to produce just the .java intermediate source files.
    • Then compile all of the .java source files into .class files with the JDK compiler using wildcards (e.g. javac *.java)
  2. Split the compilation into two steps and run them in parallel
    • First compile with -jj (and omit -jc) to produce just the .java intermediate source file for a single program (e.g. vcc -jj ... PROG1.cbl)
    • Then compile the .java source into .class files with the JDK compiler in the background (e.g. javac PROG1.java &)
  3. Use the IDE
    • Put your source code into an IDE project
    • Let the IDE build the objects in the background
  4. Use ant
    • Create a build.xml script including dependencies
    • Run the ant utility to compile just the files that require it
  5. Use make
    • Create a makefile
    • Run the make utility to compile just the files that require it
  6. Use iscbatch
    • Ask Veryant Support to help you set up iscbatch
    • Use your current build scripts or a makefile
Authored by: Veryant Support on Tue, Sep 27th, 2011 at 7:00 PM
This question has been viewed 4735 times so far.
Online URL: http://support.veryant.com/support/phpkb/question.php?ID=183

Powered by PHPKB Knowledge Base Software