РСбÑ, 24/01/2009 в 13:02 -0700, Yang Lao пиÑеÑ:
My guess is the "uses crt" is not needed for linux. If you still need your code to run under turbo pascal then put an IFDEF around it. You also shouldn't need the --automake when compiling...
It's not needed for this program, but I do need it for compatibility reasons.
Automake is another thing, I couldn't build it at all without it: $ ls testcrt.pas $ gpc testcrt.pas -o testcrt testcrt.pas:2: оÑибка: module/unit interface `crt' could not be imported $ gpc --automake testcrt.pas -o testcrt $ ls crtc.o crt.o gpc_bp.gpi gpc_delphi.gpi gpc.gpi testcrt crt.gpi gpc-all.gpi gpc_cp.gpi gpc_ep.gpi gpc.o testcrt.pas $ rm testcrt $ gpc testcrt.pas -o testcrt