Mail Archives: djgpp/1997/03/30/11:17:41
On 28 Mar 1997, TPY wrote:
> this program is compiler..
> __|___
> Breakpoint 1, systemFunc ( str=0x16a148 "comp -c -o ./SCR10000.scr ./SCR10000.map",
> ' ' <repeats 61times>) at mydos.c:446
> 446 ret = system( str );
> (gdb) n
It is very hard to interpret this script. Please post the fragment of
the source code that is relevant to this program and the exact string
which is passed to the `system' function (I'm not sure whether GDB
printed it all, because it sometimes truncates long strings).
> C:\WINDOWS\TEMP\ERR2: Too many open files
Is this the *exact* message you see? If so, then it is from the
`comp', the program that you invoke via `system', because the message
from a DJGPP program should have "(EMFILE)" appended to the end of the
message. If this is true, it is impossible for me to guess why the
`comp' prints this message, since I'm not familiar with its
requirements.
> * reference
> "config.sys" file inserted next 1 line.
> files = 100
If the error message is from `comp' it might have limitations of the
number of files it uses at the same time which is smaller than the
limit in CONFIG.SYS. For example, programs compiled with Borland C or
MSC have a built-in limit of 20 files because that's the size of the
tables hard-coded into their runtime libraries.
- Raw text -