conradin
August 30th, 2011, 12:52 PM
Hi all,
Im trying to run various pascal programs write in borlad Turbo pascal under MSDOS.
when I run gpc I get a modules error.
$ gpc hello.p -o binaries/hello
hello.p:4: error: module/unit interface `crt' could not be imported
where can I get modules to make this work? For that matter, is there a library or something I need to get all these borland turbo pascal programs to run in linux?
the program source looks like:
program Hello;
uses
crt;
begin
ClrScr;{Clears the screen}
Write('Hello world');{Prints "Hello world"}
Readln;{Waits for the user to press enter}
end.
Im trying to run various pascal programs write in borlad Turbo pascal under MSDOS.
when I run gpc I get a modules error.
$ gpc hello.p -o binaries/hello
hello.p:4: error: module/unit interface `crt' could not be imported
where can I get modules to make this work? For that matter, is there a library or something I need to get all these borland turbo pascal programs to run in linux?
the program source looks like:
program Hello;
uses
crt;
begin
ClrScr;{Clears the screen}
Write('Hello world');{Prints "Hello world"}
Readln;{Waits for the user to press enter}
end.