[fpc-devel]{$I 'xxx'} does not seem to work in 1.0.4 linux/i386

Ralf Paaschen paasch01 at marvin.cs.uni-dortmund.de
Sun Apr 14 16:50:03 CEST 2002


Hi.

The include command does not seem to work. Here are:

   * directory listing
   * program source
   * fpc error message



$> ls -l 

-rw-r--r--    1 ralf   ralf    210 Apr 14 16:18 commandchecker.pas
-rw-r--r--    1 ralf   ralf    978 Apr 14 15:58 commandchecker_lex.l
-rw-r--r--    1 ralf   ralf   9623 Apr 14 15:59 commandchecker_lex.pas
-rw-r--r--    1 ralf   ralf   6098 Apr 14 16:00 commandchecker_yacc.pas
-rw-r--r--    1 ralf   ralf    234 Apr 14 15:58 commandchecker_yacc.y

---SNAP------------------------------------------------------------------------

$> cat commandchecker.pas
(* $Header$ *)

program commandchecker;
   

{$I 'commandchecker_yacc.pas'}
{$I 'commandchecker_lex.pas'}

begin   
   
end.

---SNAP------------------------------------------------------------------------

$> fpc commandchecker.pas

Free Pascal Compiler version 1.0.4 [2001/08/31] for i386
Copyright (c) 1993-2000 by Florian Klaempfl
Target OS: Linux for i386
Compiling commandchecker.pas
commandchecker.pas(6,2) Fatal: Can't open include file 
'commandchecker_yacc.pas'





More information about the fpc-devel mailing list