delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/19/09:45:12

Message-ID: <3A17E557.301FFF49@worldnet.att.net>
From: Roby <not-a-real-address AT worldnet DOT att DOT net>
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: <jWCR5.11612$nT1 DOT 239519 AT wagner DOT videotron DOT net>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019