[fpc-pascal]Possible compiler bug

pfv at cooldown.demon.nl pfv at cooldown.demon.nl
Fri Sep 8 16:47:23 CEST 2000


> In my ppc386.cfg I have these lines
> 
> # searchpath for includefiles
> -Fid:\pp\source\rtl\$TARGET\*;d:\pp\units\$TARGET\*;d:\pp\projects\*
> 
> # searchpath for units and other system dependent things
> -Fud:\pp\source\rtl\$TARGET\*;d:\pp\units\$TARGET\*;d:\pp\projects\*

You'll also need d:\pp\projects in the line as the \* adds all subdirs and not 
the basedir


> Any time I try to {$I} include a file in my d:\pp\projects directory, the 
compiler halts
and says it can't compile one of the stock FPC units because no sources were 
found. If I
move the .inc file I'm trying to include, to d:\pp\source\rtl\$TARGET\ then it 
works just
fine. But I can't have the .inc file in d:\pp\projects.
> 
> Is there a way to get around this problem?

What is the name of the include file?







More information about the fpc-pascal mailing list