[fpc-devel]FPC 1.0.6 (under Linux) do not read fpc.cfg :(
Michail A.Baikov
xakep at gamedot.ru
Tue Aug 20 09:26:43 CEST 2002
My /etc/fpc.cfg contain -Fi<include_dir>
But ${INCLUDE file.inc} report about file.inc don't found :(
cut from fpc.cfg:
....
-Fi/home/baikov/Linderdaum\SRC\INCLUDE
-Fi/home/baikov/Linderdaum\SRC\INCLUDE\*
...
my disk:
[root at rusxakep INCLUDE]# ls -la
????? 40
dr-x------ 2 baikov users 4096 ??? 1 22:39 .
drwxr-xr-x 22 baikov users 4096 ??? 18 23:35 ..
-r-------- 1 baikov users 5373 ??? 10 14:24 BUILD_.EXE
-r-------- 1 baikov users 7 ??? 8 19:04 BUILD.INC
-r-------- 1 baikov users 551 ??? 10 14:24 BUILD_.PAS
-r-------- 1 baikov users 1202 ??? 5 20:06 DEFS.INC
-r-------- 1 baikov users 113 ??? 28 22:39 DONE_PG.INC
-r-------- 1 baikov users 909 ??? 24 09:24 INIT_PG.INC
-r-------- 1 baikov users 318 ??? 24 17:43 PLUGIN.INC
I try with chmod 0777 * -R too. Same result. :(
Compiler Report
Free Pascal Compiler version 1.0.6 [2002/05/23] for i386
Copyright (c) 1993-2002 by Florian Klaempfl
Target OS: Linux for i386
Compiling ./linderdm.pas
linderdm.pas(1,2) Fatal: Can't open include file defs.inc
in linderdaum.pas:
{$INCLUDE DEFS.INC}
Maybe compiler try find defs.inc (see CASE) ? I think, It's wrong under
'case' OS :(
Please give advance me. Thanks.
More information about the fpc-devel
mailing list