k-legacy icon indicating copy to clipboard operation
k-legacy copied to clipboard

Multiple Compilation Units

Open jsinglet opened this issue 7 years ago • 0 comments

What is the best way to support something akin to multiple compilation units in K? Using Java for an example, if I had two files, MyInterface.java and MyClass.java the natural way to compile them would be to pass both files to the compiler on the command line, producing multiple compilation units. However, trying to pass more than one file at a time to krun gives me the error:

[Error] Critical: You can only specify $PGM on the command line itself

What's the best way to accomplish this?

Best, JLS

jsinglet avatar Jun 23 '17 03:06 jsinglet