On 30/08/2007, Jonas Maebe <[EMAIL PROTECTED]> wrote: > > Set up the correct unit directories under Options->Directories >
So does that mean FP IDE doesn't read the global fpc.cfg file located it /etc or in my $HOME directory? If it doesn't, why not? It would make sense to do so? BTW: I'm only trying to compile a very simple application, that doesn't use any units not included in FPC. I can understand that I need to add unit directories for 3rdParty libraries, but not sure why for units included with the Free Pascal Compiler (that's already setup in fpc.cfg). Here is the source of testversion.pas -------------------[ testversion.pas ]------------------------------- program testversion; {$mode objfpc}{$H+} uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} Classes; begin WriteLn('Compiled date: ' + {$I %DATE%}); WriteLn('Version: ' + {$I %FPCVERSION%}); WriteLn('Free Pascal Compiler version ' + {$I %FPCVERSION%} + ' [' + {$I %FPCDATE%} + ']'); end. --------------------------------- END ---------------------------------- Regards, - Graeme - _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal