"Ariel Bendersky" wrote:
Well, I finally got my GPC to work. It works fine, except that I cannot use the CRT unit (in fact it's the only unit I have tried so far).
Whenever I try to compile from rhide a code as simple as:
Program prueba; Uses crt; begin clrscr; writeln('Hello'); end.
I get this error:
Compiling: test.pas ignoring AutoMake options `-g'; (using `-g') In function `program_Prueba': test.pas(4) Error: undefined reference to `crt_clrscr' There were some errors
Did you install the required libraries (see the comments in the CRT unit)?
Which system do you use? In the case of Dos, you might need to use --autobuild because of the automake bugs.
Frank
Well, I finally got my GPC to work. It works fine, except that I cannot use the CRT unit (in fact it's the only unit I have tried so far).
Whenever I try to compile from rhide a code as simple as:
Program prueba; Uses crt; begin clrscr; writeln('Hello'); end.
I get this error:
Compiling: test.pas ignoring AutoMake options `-g'; (using `-g') In function `program_Prueba': test.pas(4) Error: undefined reference to `crt_clrscr' There were some errors
Did you install the required libraries (see the comments in the CRT unit)?
I have just installed the pdcurse, but the version 2.4, because I haven't found the 2.3. Anyway, it still gives the same error.
Which system do you use? In the case of Dos, you might need to use --autobuild because of the automake bugs.
I'm on DOS, with djgpp. And I tried with the --autobuild, but I still get the same error. Or in some cases I get a "cannot compile CRT unit".
Any clue?
Ariel.
--- Ariel Bendersky bender@einstein.com.ar ICQ 1914963