[fpc-pascal] When are used units recompiled?

2006-04-05 Thread Tom Verhoeff
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

Re: [fpc-pascal] When are used units recompiled?

2006-04-05 Thread Jonas Maebe
On 5 apr 2006, at 13:22, Tom Verhoeff wrote: 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

Re: [fpc-pascal] When are used units recompiled?

2006-04-05 Thread Micha Nelissen
Tom Verhoeff wrote: 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. Wrong target (OS) or incompatible compiler version, usually. Vote for:

Re[2]: [fpc-pascal] When are used units recompiled?

2006-04-05 Thread Пётр Косаревский
Tom Verhoeff wrote: 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. Wrong target (OS) or incompatible compiler version, usually. Vote for:

Re[2]: [fpc-pascal] When are used units recompiled?

2006-04-05 Thread Michael Van Canneyt
On Wed, 5 Apr 2006, ??? wrote: Tom Verhoeff wrote: 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. Wrong target (OS) or incompatible compiler

Re: Re[2]: [fpc-pascal] When are used units recompiled?

2006-04-05 Thread Michael Van Canneyt
On Wed, 5 Apr 2006, Micha Nelissen wrote: On Wed, 5 Apr 2006 15:57:29 +0200 (Romance Daylight Time) Michael Van Canneyt [EMAIL PROTECTED] wrote: The hint exists already. use -vu. You really don't expect the average newbie (to freepascal) programmer to read the error message Can't find

Re: Re[2]: [fpc-pascal] When are used units recompiled?

2006-04-05 Thread Micha Nelissen
On Wed, 5 Apr 2006 18:37:27 +0200 (CEST) Michael Van Canneyt [EMAIL PROTECTED] wrote: You really don't expect the average newbie (to freepascal) programmer to read the error message Can't find unit FOO and then expect him to *guess* he has to use -vu ?!?! Of course I do. What else do we

Re: Re[2]: [fpc-pascal] When are used units recompiled?

2006-04-05 Thread Michael Van Canneyt
On Wed, 5 Apr 2006, Micha Nelissen wrote: On Wed, 5 Apr 2006 18:37:27 +0200 (CEST) Michael Van Canneyt [EMAIL PROTECTED] wrote: You really don't expect the average newbie (to freepascal) programmer to read the error message Can't find unit FOO and then expect him to *guess* he

Re: Re[2]: [fpc-pascal] When are used units recompiled?

2006-04-05 Thread L505
Tom Verhoeff wrote: 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. Wrong target (OS) or incompatible compiler version, usually. Vote for:

Re: Re[2]: [fpc-pascal] When are used units recompiled?

2006-04-05 Thread Micha Nelissen
On Wed, 5 Apr 2006 19:27:07 +0200 (CEST) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Wed, 5 Apr 2006, Micha Nelissen wrote: I don't agree: RTFM is *not* an excuse for insightful, to-the-point, clear, not too elaborate error messages. Yes, and the 'elaborateness' is controlled by the

Re: Re[2]: [fpc-pascal] When are used units recompiled?

2006-04-05 Thread L505
Vote where? :) The bug reporting system is very limited, once the bug is opened or closed you can't make any additional comments. I know, but sometimes developers who know the system inside-out get 'out-of-touch' with the users who are just starting to use it. So 'voting' is essentially

Re: [fpc-pascal] When are used units recompiled? (more details)

2006-04-05 Thread Tom Verhoeff
On Wed, Apr 05, 2006 at 01:27:04PM +0200, Jonas Maebe wrote: On 5 apr 2006, at 13:22, Tom Verhoeff wrote: 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,