From: ovek AT arcticnet DOT no (Ove Kaaven) Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP +Novell:can I do anything more? Date: Tue, 04 Nov 1997 23:29:39 GMT Organization: Arctic Net AS Lines: 19 Message-ID: <345fafab.53131328@news.arcticnet.no> References: <345EF8CE DOT 1A88F555 AT fuw DOT edu DOT pl> <345F10B6 DOT EDDBD658 AT LSTM DOT Ruhr-UNI-Bochum DOT De> NNTP-Posting-Host: i.tommeste.moerkeste.kaldeste.dypvinteren.paa.arcticnet.no To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Thomas Demmer wrote: >> I made 4MB RAMDISK and TMPDIR is pointing there. I add LIBRARY_PATH >> pointing RAMDISK and copied there the most frequently used libraries >> (libc, libm, libgrx20, libbcc2). I traced djgpp with -v option and it >> appeared that cc1.exe is very slow (actually reading cc1.exe from the >> network drive - it's 1MB with each compiled file). I tried to copy >> cc1.exe to RAMDISK but gcc uses still g:\djgpp\bin\cc1.exe instead of >> this from ram drive. ... >The only idea coming to my mind is replacing cc1.exe by a link >to the version on your ramdisk, or, more elaborate, a tiny program >that checks if an cc1.exe exists on a RAMDRIVE, and execs that, >otherwise execs cc1org.exe in your djgpp directory. I'm not sure >if this really works, but ypu might try. Wouldn't putting the ramdisk in PATH before \djgpp\bin work?