Hi!
I'm trying to run some pascal with java.
After Markus Gerwinsky help and some hard work getting libgpc to be shared library it is possible.
The problem that the first example I tried was printing something from Pascal with writeln.
Then I got a runtime error that Output variable is uninitialized.
Shouldn't gpc work with standard descriptors or the StdOut, StdErr and the rest should be initialized somehow?
also how should I initialize them? To what device/descriptor etc?
opening file and writing into it works.
Nick
Nick Ioffe wrote:
Then I got a runtime error that Output variable is uninitialized.
Shouldn't gpc work with standard descriptors or the StdOut, StdErr and the rest should be initialized somehow?
See gpc-in-c.h and demos/gpc_c_*
Frank