uSystem.pas(45,43) Fatal: Syntax error, ":" expected but "identifier LIBC" found
look up cvar in the documentation
Hello Roland.
This compiles ok here:
program testvar; {$mode objfpc}{$H+} var stdin: pointer; external 'libc'; stdout: pointer; external 'libc'; begin end.
Free Pascal Compiler version 3.2.1[2020/08/24] for x86_64
Copyright (c) 1993-2020 by Florian Klaempfl & Others.
Target OS: Linux for x86-64
Compiling testvar.pas
testvar.pas(6,3) Note: Local variable "stdin" not used
testvar.pas(7,3) Note: Local variable "stdout" not used
Linking testvar
10 lines compiled, 0.1 sec
2 note(s) issued
But maybe is it rather:
external 'c'
:-\