From: ovek AT arcticnet DOT no (Ove Kaaven) Newsgroups: comp.os.msdos.djgpp Subject: Memory-devouring ranlib de luxe Date: Wed, 14 Jan 1998 13:44:11 GMT Organization: Arctic Net AS Lines: 18 Message-ID: <34bcadce.75499584@news.arcticnet.no> NNTP-Posting-Host: village-dos.arcticnet.no To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I have been able to compile the X11 library files with libsocket (to make it possible to compile X programs with djgpp to run in a DOS box under Windows), but I'm having serious trouble in making an .a file out of it. Since my own HD space is limited, the files are stored on the Linux server running Samba, which I mount as a network drive in my win 3.11. It was impossible to "ar" it, so with the Linux advantage at hand, I ran ar on the Linux computer. But of course this wouldn't link with the X program, complaining that I should run "ranlib" on it. First attempt: "virtual memory exhausted". No go under Windows, so I copied it to local computer, freed some HD space, then booted to DOS and tried it again. go32-v2 now reported 29 Mb physical RAM and 106 Mb virtual memory, and libx11.a is only 40 Mb. Well, looked good, 3 times more free virtual memory than the file size. But still, after a while ... "virtual memory exhausted". Argh, how much memory does ranlib really need, if 3x file size isn't sufficient?