Message-ID: <3A17E557.301FFF49@worldnet.att.net> From: Roby Organization: . X-Mailer: Mozilla 4.75 [en] (Win95; U) X-Accept-Language: en,pdf MIME-Version: 1.0 Newsgroups: alt.msdos,alt.msdos.programmer,comp.os.msdos.djgpp,comp.os.msdos.misc,comp.os.msdos.programmer Subject: Re: EMFILE error in DOS-6.22 References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 30 Date: Sun, 19 Nov 2000 14:35:24 GMT NNTP-Posting-Host: 12.76.72.241 X-Complaints-To: abuse AT worldnet DOT att DOT net X-Trace: bgtnsc04-news.ops.worldnet.att.net 974644524 12.76.72.241 (Sun, 19 Nov 2000 14:35:24 GMT) NNTP-Posting-Date: Sun, 19 Nov 2000 14:35:24 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Xavier Robitaille wrote: > > 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 "set FILES=70" creates environment variable FILES with value 70. The CONFIG.SYS line should be "FILES=70" to allow 70 file handles. Don't know if this will solve your linker problem though. Roby