On 14-6-2012 19:54, Bernd wrote:
> Ok, I'm slowly making progress. The Targets.AddUnit() method needs the
> unit file name (with extension).
> 
> But there is another problem. fpmake is sloooooooowwww.
<snip>
> There is something not quite right in fpmkunit, there is a Sleep(100)
> in it that makes it slow down extremely:
> Line 1289 in packages/fpmkunit/src/fpmkunit.pp
> 
>     else
>     begin
>       // no data, wait 100 ms
>       Sleep(100);
>     end;
> 
> making this a Slep(1) or even removing it completely makes  the above
> run more than two times faster:

Would it make sense to shorten or remove this Sleep call?

Are there any other improvements that can be made with fpmake?

Searching for open bugs with fpmake in them gives:
21230   feature (fpmake) Non-mandatory installation of .o files
21868   minor   fpmake terminates while clean repo
21991   major   Patch to compile from command-line using fpmake
21442   trivial [patch] `make clean` does not clean all files
21880   major   Can't build fpc from latest svn.
18321   block   fppkg: Package webdesign needs to be rebuild, dependency
gecko is modified
20466   trivial MAKE CLEAN do not delete *.DBG files
21418   minor   Can't install a cross FPC into the same prefix as regular
FPC on Unix.
15222   minor   Dummy instead of unix include files are used.
21074   minor   Added documentation runmode
19144   minor   fpdoc system requires correct order of units on the cmdline
20479   minor   'make distclean' don't clean all .o-files
18151   minor   fpmkunit compile example programs
13885   feature Replace "Create Makefile" with "Create fpmake file"

I noticed these remarks in 13885
First fpmake must be extended, so that compiling codetools works
including passing multiple -d flags.
Then fpmake must be extended and/or LCL restructured, so that compiling
LCL is possible.
After that IDEIntf, SynEdit, IDE should be no problem.

Does this situation still apply?

Anything I may have missed? If I or somebody else wanted to look into
improving fpmake so it could be used more widely, where would I need to
look?

Thanks,
Reinier
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to