$ uname -a
FreeBSD bsd_neyro.ru 8.1-RELEASE FreeBSD 8.1-RELEASE #0:Mon Jul 19 02:55:53 UTC 2010
root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
Пытаюсь скомпилить для проверки вот такой модуль mod.pas:
UNIT MOD;
interface
function f1:integer;
implementation
uses crt;
function f1:integer;
begin
writeln('By MOD!');
end;
end.
Выдает:
$ fpc mod.pas
Free Pascal Compiler version 2.4.0 [2010/10/07] for i386
Copyright © 1993-2009 by Florian Klaempfl
Target OS: FreeBSD/ELF for i386
Compiling mod.pas
mod.pas(2,6) Fatal: Syntax error, "identifier" expected but "mod" found
Fatal: Compilation aborted
Error: /usr/local/bin/ppc386 returned an error exitcode
(normal if you did not specify a source file to be compiled)