Mail Archives: djgpp/2000/11/18/17:23:01
> From: "Xavier Robitaille" <xavier DOT robitaille AT videotron DOT ca>
> Newsgroups: alt.msdos,alt.msdos.programmer,comp.os.msdos.djgpp,comp.os.msdos.misc,comp.os.msdos.programmer
> Date: Sat, 18 Nov 2000 17:01:53 -0500
>
> ar rcs libfgl.a fastgl.o widgets.o msdos.o engine.o timer.o ... (long list
> of .o)
>
> and it generates the following error :
>
> c:\DJGPP\BIN/ar.exe : engine.o : Too many open files (EMFILE)
I have never seen such a message.
How many .o files did you have, all together?
> I understand that the linker (ar.exe) can not create enough file handles to
> link the whole .o list.
> Surely DOS allows the use of more than 4 file handes...
You are assuming that, since engine.o is the 4th file in the list,
ar.exe chokes after the forth handle. But this doesn't need to be so,
ar.exe could have opened other files, and could have done more than
one pass of the whole list.
> I've already added the following line in my config.sys but it doesn't solve
> my problem :
> set FILES=70
Please read section 9.7 of the DJGPP FAQ list, it might give some
clues (do you have SHARE.EXE installed?).
- Raw text -