[fpc-devel] problem with fpcres on macosx

Giulio Bernardi ugilio at gmail.com
Mon Jan 25 18:45:18 CET 2010


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...

Giulio



More information about the fpc-devel mailing list