From: "Xavier Robitaille" Newsgroups: alt.msdos,alt.msdos.programmer,comp.os.msdos.djgpp,comp.os.msdos.misc,comp.os.msdos.programmer Subject: EMFILE error in DOS-6.22 Lines: 25 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: Date: Sat, 18 Nov 2000 17:01:53 -0500 NNTP-Posting-Host: 24.201.197.96 X-Complaints-To: abuse AT videotron DOT net X-Trace: wagner.videotron.net 974584591 24.201.197.96 (Sat, 18 Nov 2000 16:56:31 EST) NNTP-Posting-Date: Sat, 18 Nov 2000 16:56:31 EST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello, I'm trying to compile a library with DJGPP in DOS-6.22. The link command is the following : 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 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... Is there a way I can configure to change this. I've already added the following line in my config.sys but it doesn't solve my problem : set FILES=70 Thanks, Xavier