On 02/02/2008, Marius <[EMAIL PROTECTED]> wrote:
> I keep learning from my mistakes, i did not even what the .compiled was
> and why it was there. Now i can turn the .compiled with little effort
> into a batch file!

The .compiled is a neat trick. :-) But you have a 3rd option as well.
Use a extra config file with FPC.

example:

-------------[ extrafpc.cfg ]-----------------
-FUunits
-Fu../../../lib
-Xs
-XX
-CX
------------[ end ]--------------

The above can contain whatever paths and command line options you
need. Then add it to the fpc as a parameter.  The @ sign means it uses
the default fpc.cfg file and then adds whatever is in extrafpc.cfg to
the end.

fpc @extrafpc.cfg myproject.lpr


Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to