Are there known issues with 1.0.6 and it's finding the configuration file? Does it matter whether I compile using the 'fpc' or 'ppc386' command (they differ on my system):
[EMAIL PROTECTED] ian]$ more ~amead/fpc.cfg -gl -Co -Cr [EMAIL PROTECTED] ian]$ ls -l `which ppc386` lrwxrwxrwx 1 root root 25 May 17 08:49 /usr/bin/ppc386 -> /usr/lib/fpc/1.0.6/ppc386* [EMAIL PROTECTED] ian]$ ls -l `which fpc` -rwxr-xr-x 1 root root 78020 May 23 2002 /usr/bin/fpc* [EMAIL PROTECTED] ian]$ ls -l /usr/lib/fpc/1.0.6/ppc386 -rwxr-xr-x 1 root root 897844 May 23 2002 /usr/lib/fpc/1.0.6/ppc386* [EMAIL PROTECTED] ian]$ rpm -qf /usr/bin/fpc fpc-1.0.6-1 [EMAIL PROTECTED] ian]$ rpm -qf /usr/lib/fpc/1.0.6/ppc386 fpc-1.0.6-1
I ask because my programs are not automatically being compiled with the desired options '-Cr -Co -gl'. I can enable range checking in the source file with {$R+}, is there a similar solution for -gl?
/usr/bin/fpc is only a wrapper and does not include any knowledge to compile a file. The only task for it is to call the correct compiler based on the -P setting, when not specified it calls the default compiler. This default compiler can be checked by running
/usr/bin/fpc -PB
The compiler will first try to load ~/.fpc.cfg, when not found it'll look for ~/.ppc386.cfg when not found it looks for /etc/fpc.cfg and finally for /etc/ppc386.cfg
Peter
_______________________________________________ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal