Quoting Michael Van Canneyt <[EMAIL PROTECTED]>:

The problem is not so easy:
the fpc commandline has only the project file on it.
a simple pre-compile command without additional IDE functionality.

A potential solution is that instead of calling the commandline fpc, he uses its "own fpc compiler", actually a batch file or an executable program that calls the preprocessor, and in case of not an error, then call fpc.

example:

$ fpcpp /?
My FreePascal Preprocessor for Lazarus 2006 (c)

$ fpcpp myproject.pas

(0) errors found.

Just my 2 cents...



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

Reply via email to