[fpc-devel] problem with fpcres on macosx

zeljko zeljko at holobit.net
Mon Jan 25 19:01:01 CET 2010


On Monday 25 January 2010 18:45, Giulio Bernardi wrote:
> Il 25/01/2010 18.40, zeljko ha scritto:
> > lindas-computer:~/genres Linda$ ppc386 test.pas
> > Free Pascal Compiler version 2.4.1 [2010/01/24] for i386
> > Copyright (c) 1993-2009 by Florian Klaempfl
> > Target OS: Darwin for i386
> > Compiling test.pas
> > Assembling test
> > Compiling resource test.or
> > Error: Can't open file 'res7.lfm'
> > Error: Error while compiling resources
> > Fatal: There were 1 errors compiling module, stopping
> > Fatal: Compilation aborted
> >
> >
> > I've also attached test.reslist which is used by fpcres, so you can see
> > there that res7.lfm is at 254th line (254th resource of linked app)
>
> Ahhh! We are out of file handles. I think you have an ulimit of 256 (253
> files +stdin,stdout,stderr=256).
> Okay, fpcres shouldn't try to keep all its input files open...

ulimit says "unlimited" :), but ulimit -n says exact 256 :)))) didn't even 
think about that , now it works correct (ulimit -n 1024), of course patch 
need to be maded for fpcres ... 

thanks

zeljko




More information about the fpc-devel mailing list