I had an interesting scenario recently where a form I was trying to compile kept coming up empty when I ran the program. The unit name was "unit1". I had placed several controls on the page and changed the caption. When the program ran it came up with the default empty window with the caption "Form1". I used "build all" to try to guarantee that it rebuilt my unit.

I ended up discovering that there was a "unit1.pas" that was reachable in by my -Fu path. So the question is: How do you tell FPC to build the application? More specifically:

  1. Do you just pass the "*.lpr" project file to FPC and it does the project build from there?
  2. Do you compile the individual units?
  3. How does the project location get passed to FPC?
  4. What happens when project files exist outside of the directory where the "*.lpr" file is contained.
If you want just tell me where in the source code to find the calls to FPC and I'll be happy to browse that.

THX - Jon

-- 
Jon Foster
JF Possibilities, Inc.
[EMAIL PROTECTED]
541-410-2760
Making computers work for you!



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

Reply via email to