On Thu, 20 Apr 2006, darekM wrote:
Hi I want to pass directive from command line to fpc.cfg in fpc.cfg I have something like this -Fu/home/me/project1/units/$LCL_PLATFORM and I want to compile my program form command line fpc -dRELEASE myprogram how setup $LCL_PLATFORM
in bash: LCL_PLATFORM=gtk1 export LCL_PLATFORM in CSH: setenv LCL_PLATFORM gtk1 You should put this command in .profile (bash) or .login (csh) if you want to avoid typing it each time when you create a shell window. Michael. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal