[fpc-pascal] When are used units recompiled?

Tom Verhoeff T.Verhoeff at tue.nl
Wed Apr 5 13:22:19 CEST 2006


In a programming course that I teach, some students are using Lazarus+FPC
instead of Delphi.  I made available two precompiled units, that is, the
*.ppu and *.o files.  However, when the students tried to compile their
programs using these units, the compiler complained that it could not
find the *.pas files.  When compiling with -va (verbose all), it became
apparent that the compiler disliked something about the *.ppu files.
(Sorry, I didn't get the exact message from the students.)

Can someone explain to me under what circumstances FPC will (attempt to)
recompile a unit for which *.ppu and *.o are already available?
I couldn't find this in the documentation.

Versions: I used FPC 2.0.1 to compile the units; the students
used FPC 2.0.2 to compiler their programs.

Thanks,

	Tom
-- 
E-MAIL: T.Verhoeff @ TUE.NL     | Fac. of Math. & Computing Science
PHONE:  +31 40 247 41 25        | Eindhoven University of Technology
FAX:    +31 40 247 54 04        | PO Box 513, NL-5600 MB Eindhoven
http://www.win.tue.nl/~wstomv/  | The Netherlands



More information about the fpc-pascal mailing list